mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
treewide: fix comment/printk/variable typos
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
203fa3fe9c
commit
4907cb7b19
@ -427,7 +427,7 @@ DMA engine callback Functions*/
|
|||||||
* intel_mid_dma_tx_submit - callback to submit DMA transaction
|
* intel_mid_dma_tx_submit - callback to submit DMA transaction
|
||||||
* @tx: dma engine descriptor
|
* @tx: dma engine descriptor
|
||||||
*
|
*
|
||||||
* Submit the DMA trasaction for this descriptor, start if ch idle
|
* Submit the DMA transaction for this descriptor, start if ch idle
|
||||||
*/
|
*/
|
||||||
static dma_cookie_t intel_mid_dma_tx_submit(struct dma_async_tx_descriptor *tx)
|
static dma_cookie_t intel_mid_dma_tx_submit(struct dma_async_tx_descriptor *tx)
|
||||||
{
|
{
|
||||||
|
@ -364,7 +364,7 @@ typhoon_inc_rxfree_index(u32 *index, const int count)
|
|||||||
static inline void
|
static inline void
|
||||||
typhoon_inc_tx_index(u32 *index, const int count)
|
typhoon_inc_tx_index(u32 *index, const int count)
|
||||||
{
|
{
|
||||||
/* if we start using the Hi Tx ring, this needs updateing */
|
/* if we start using the Hi Tx ring, this needs updating */
|
||||||
typhoon_inc_index(index, count, TXLO_ENTRIES);
|
typhoon_inc_index(index, count, TXLO_ENTRIES);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1458,7 +1458,7 @@ struct bnx2x {
|
|||||||
int fw_stats_req_sz;
|
int fw_stats_req_sz;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FW statistics data shortcut (points at the begining of
|
* FW statistics data shortcut (points at the beginning of
|
||||||
* fw_stats buffer + fw_stats_req_sz).
|
* fw_stats buffer + fw_stats_req_sz).
|
||||||
*/
|
*/
|
||||||
struct bnx2x_fw_stats_data *fw_stats_data;
|
struct bnx2x_fw_stats_data *fw_stats_data;
|
||||||
|
@ -1321,7 +1321,7 @@ void bnx2x_init_mcast_obj(struct bnx2x *bp,
|
|||||||
* the current command will be enqueued to the tail of the
|
* the current command will be enqueued to the tail of the
|
||||||
* pending commands list.
|
* pending commands list.
|
||||||
*
|
*
|
||||||
* Return: 0 is operation was sucessfull and there are no pending completions,
|
* Return: 0 is operation was successfull and there are no pending completions,
|
||||||
* negative if there were errors, positive if there are pending
|
* negative if there were errors, positive if there are pending
|
||||||
* completions.
|
* completions.
|
||||||
*/
|
*/
|
||||||
|
@ -315,7 +315,7 @@ static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw,
|
|||||||
u16 box_reg = 0, box_extreg = 0;
|
u16 box_reg = 0, box_extreg = 0;
|
||||||
u8 u1b_tmp;
|
u8 u1b_tmp;
|
||||||
bool isfw_read = false;
|
bool isfw_read = false;
|
||||||
bool bwrite_sucess = false;
|
bool bwrite_success = false;
|
||||||
u8 wait_h2c_limmit = 100;
|
u8 wait_h2c_limmit = 100;
|
||||||
u8 wait_writeh2c_limmit = 100;
|
u8 wait_writeh2c_limmit = 100;
|
||||||
u8 boxcontent[4], boxextcontent[2];
|
u8 boxcontent[4], boxextcontent[2];
|
||||||
@ -354,7 +354,7 @@ static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
while (!bwrite_sucess) {
|
while (!bwrite_success) {
|
||||||
wait_writeh2c_limmit--;
|
wait_writeh2c_limmit--;
|
||||||
if (wait_writeh2c_limmit == 0) {
|
if (wait_writeh2c_limmit == 0) {
|
||||||
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
|
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
|
||||||
@ -491,7 +491,7 @@ static void _rtl92c_fill_h2c_command(struct ieee80211_hw *hw,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
bwrite_sucess = true;
|
bwrite_success = true;
|
||||||
|
|
||||||
rtlhal->last_hmeboxnum = boxnum + 1;
|
rtlhal->last_hmeboxnum = boxnum + 1;
|
||||||
if (rtlhal->last_hmeboxnum == 4)
|
if (rtlhal->last_hmeboxnum == 4)
|
||||||
|
@ -365,7 +365,7 @@ static void _rtl92d_fill_h2c_command(struct ieee80211_hw *hw,
|
|||||||
u8 u1b_tmp;
|
u8 u1b_tmp;
|
||||||
bool isfw_read = false;
|
bool isfw_read = false;
|
||||||
u8 buf_index = 0;
|
u8 buf_index = 0;
|
||||||
bool bwrite_sucess = false;
|
bool bwrite_success = false;
|
||||||
u8 wait_h2c_limmit = 100;
|
u8 wait_h2c_limmit = 100;
|
||||||
u8 wait_writeh2c_limmit = 100;
|
u8 wait_writeh2c_limmit = 100;
|
||||||
u8 boxcontent[4], boxextcontent[2];
|
u8 boxcontent[4], boxextcontent[2];
|
||||||
@ -408,7 +408,7 @@ static void _rtl92d_fill_h2c_command(struct ieee80211_hw *hw,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while (!bwrite_sucess) {
|
while (!bwrite_success) {
|
||||||
wait_writeh2c_limmit--;
|
wait_writeh2c_limmit--;
|
||||||
if (wait_writeh2c_limmit == 0) {
|
if (wait_writeh2c_limmit == 0) {
|
||||||
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
|
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
|
||||||
@ -515,7 +515,7 @@ static void _rtl92d_fill_h2c_command(struct ieee80211_hw *hw,
|
|||||||
"switch case not processed\n");
|
"switch case not processed\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
bwrite_sucess = true;
|
bwrite_success = true;
|
||||||
rtlhal->last_hmeboxnum = boxnum + 1;
|
rtlhal->last_hmeboxnum = boxnum + 1;
|
||||||
if (rtlhal->last_hmeboxnum == 4)
|
if (rtlhal->last_hmeboxnum == 4)
|
||||||
rtlhal->last_hmeboxnum = 0;
|
rtlhal->last_hmeboxnum = 0;
|
||||||
|
@ -5587,7 +5587,7 @@ static bfa_status_t bfa_dconf_flash_write(struct bfa_dconf_mod_s *dconf);
|
|||||||
static void bfa_dconf_init_cb(void *arg, bfa_status_t status);
|
static void bfa_dconf_init_cb(void *arg, bfa_status_t status);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Begining state of dconf module. Waiting for an event to start.
|
* Beginning state of dconf module. Waiting for an event to start.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
bfa_dconf_sm_uninit(struct bfa_dconf_mod_s *dconf, enum bfa_dconf_event event)
|
bfa_dconf_sm_uninit(struct bfa_dconf_mod_s *dconf, enum bfa_dconf_event event)
|
||||||
|
@ -530,7 +530,7 @@ struct bfa_diag_results_fwping {
|
|||||||
|
|
||||||
struct bfa_diag_qtest_result_s {
|
struct bfa_diag_qtest_result_s {
|
||||||
u32 status;
|
u32 status;
|
||||||
u16 count; /* sucessful queue test count */
|
u16 count; /* successful queue test count */
|
||||||
u8 queue;
|
u8 queue;
|
||||||
u8 rsvd; /* 64-bit align */
|
u8 rsvd; /* 64-bit align */
|
||||||
};
|
};
|
||||||
|
@ -219,7 +219,7 @@ static struct sas_domain_function_template isci_transport_ops = {
|
|||||||
* @isci_host: This parameter specifies the lldd specific wrapper for the
|
* @isci_host: This parameter specifies the lldd specific wrapper for the
|
||||||
* libsas sas_ha struct.
|
* libsas sas_ha struct.
|
||||||
*
|
*
|
||||||
* This method returns an error code indicating sucess or failure. The user
|
* This method returns an error code indicating success or failure. The user
|
||||||
* should check for possible memory allocation error return otherwise, a zero
|
* should check for possible memory allocation error return otherwise, a zero
|
||||||
* indicates success.
|
* indicates success.
|
||||||
*/
|
*/
|
||||||
|
@ -2240,7 +2240,7 @@ static enum sci_status atapi_data_tc_completion_handler(struct isci_request *ire
|
|||||||
status = ireq->sci_status;
|
status = ireq->sci_status;
|
||||||
sci_change_state(&idev->sm, SCI_STP_DEV_ATAPI_ERROR);
|
sci_change_state(&idev->sm, SCI_STP_DEV_ATAPI_ERROR);
|
||||||
} else {
|
} else {
|
||||||
/* If receiving any non-sucess TC status, no UF
|
/* If receiving any non-success TC status, no UF
|
||||||
* received yet, then an UF for the status fis
|
* received yet, then an UF for the status fis
|
||||||
* is coming after (XXX: suspect this is
|
* is coming after (XXX: suspect this is
|
||||||
* actually a protocol error or a bug like the
|
* actually a protocol error or a bug like the
|
||||||
|
@ -532,7 +532,7 @@ int isci_task_abort_task(struct sas_task *task)
|
|||||||
/* The request has already completed and there
|
/* The request has already completed and there
|
||||||
* is nothing to do here other than to set the task
|
* is nothing to do here other than to set the task
|
||||||
* done bit, and indicate that the task abort function
|
* done bit, and indicate that the task abort function
|
||||||
* was sucessful.
|
* was successful.
|
||||||
*/
|
*/
|
||||||
spin_lock_irqsave(&task->task_state_lock, flags);
|
spin_lock_irqsave(&task->task_state_lock, flags);
|
||||||
task->task_state_flags |= SAS_TASK_STATE_DONE;
|
task->task_state_flags |= SAS_TASK_STATE_DONE;
|
||||||
|
@ -6470,7 +6470,7 @@ lpfc_sli4_queue_verify(struct lpfc_hba *phba)
|
|||||||
* we just use some constant number as place holder.
|
* we just use some constant number as place holder.
|
||||||
*
|
*
|
||||||
* Return codes
|
* Return codes
|
||||||
* 0 - sucessful
|
* 0 - successful
|
||||||
* -ENOMEM - No availble memory
|
* -ENOMEM - No availble memory
|
||||||
* -EIO - The mailbox failed to complete successfully.
|
* -EIO - The mailbox failed to complete successfully.
|
||||||
**/
|
**/
|
||||||
|
@ -4739,7 +4739,7 @@ lpfc_sli4_read_rev(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq,
|
|||||||
* is attached to.
|
* is attached to.
|
||||||
*
|
*
|
||||||
* Return codes
|
* Return codes
|
||||||
* 0 - sucessful
|
* 0 - successful
|
||||||
* otherwise - failed to retrieve physical port name
|
* otherwise - failed to retrieve physical port name
|
||||||
**/
|
**/
|
||||||
static int
|
static int
|
||||||
@ -15118,7 +15118,7 @@ lpfc_check_next_fcf_pri_level(struct lpfc_hba *phba)
|
|||||||
/*
|
/*
|
||||||
* if next_fcf_pri was not set above and the list is not empty then
|
* if next_fcf_pri was not set above and the list is not empty then
|
||||||
* we have failed flogis on all of them. So reset flogi failed
|
* we have failed flogis on all of them. So reset flogi failed
|
||||||
* and start at the begining.
|
* and start at the beginning.
|
||||||
*/
|
*/
|
||||||
if (!next_fcf_pri && !list_empty(&phba->fcf.fcf_pri_list)) {
|
if (!next_fcf_pri && !list_empty(&phba->fcf.fcf_pri_list)) {
|
||||||
list_for_each_entry(fcf_pri, &phba->fcf.fcf_pri_list, list) {
|
list_for_each_entry(fcf_pri, &phba->fcf.fcf_pri_list, list) {
|
||||||
|
@ -461,7 +461,7 @@ static int exynos_mipi_dsi_probe(struct platform_device *pdev)
|
|||||||
done:
|
done:
|
||||||
platform_set_drvdata(pdev, dsim);
|
platform_set_drvdata(pdev, dsim);
|
||||||
|
|
||||||
dev_dbg(&pdev->dev, "%s() completed sucessfuly (%s mode)\n", __func__,
|
dev_dbg(&pdev->dev, "%s() completed successfully (%s mode)\n", __func__,
|
||||||
dsim_config->e_interface == DSIM_COMMAND ? "CPU" : "RGB");
|
dsim_config->e_interface == DSIM_COMMAND ? "CPU" : "RGB");
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -347,7 +347,7 @@ static void ds1wm_search(void *data, struct w1_master *master_dev,
|
|||||||
"pass: %d entering ASM\n", pass);
|
"pass: %d entering ASM\n", pass);
|
||||||
ds1wm_write_register(ds1wm_data, DS1WM_CMD, DS1WM_CMD_SRA);
|
ds1wm_write_register(ds1wm_data, DS1WM_CMD, DS1WM_CMD_SRA);
|
||||||
dev_dbg(&ds1wm_data->pdev->dev,
|
dev_dbg(&ds1wm_data->pdev->dev,
|
||||||
"pass: %d begining nibble loop\n", pass);
|
"pass: %d beginning nibble loop\n", pass);
|
||||||
|
|
||||||
r_prime = 0;
|
r_prime = 0;
|
||||||
d = 0;
|
d = 0;
|
||||||
|
@ -479,7 +479,7 @@ void ext2_discard_reservation(struct inode *inode)
|
|||||||
/**
|
/**
|
||||||
* ext2_free_blocks() -- Free given blocks and update quota and i_blocks
|
* ext2_free_blocks() -- Free given blocks and update quota and i_blocks
|
||||||
* @inode: inode
|
* @inode: inode
|
||||||
* @block: start physcial block to free
|
* @block: start physical block to free
|
||||||
* @count: number of blocks to free
|
* @count: number of blocks to free
|
||||||
*/
|
*/
|
||||||
void ext2_free_blocks (struct inode * inode, unsigned long block,
|
void ext2_free_blocks (struct inode * inode, unsigned long block,
|
||||||
|
@ -483,7 +483,7 @@ void ext3_discard_reservation(struct inode *inode)
|
|||||||
* ext3_free_blocks_sb() -- Free given blocks and update quota
|
* ext3_free_blocks_sb() -- Free given blocks and update quota
|
||||||
* @handle: handle to this transaction
|
* @handle: handle to this transaction
|
||||||
* @sb: super block
|
* @sb: super block
|
||||||
* @block: start physcial block to free
|
* @block: start physical block to free
|
||||||
* @count: number of blocks to free
|
* @count: number of blocks to free
|
||||||
* @pdquot_freed_blocks: pointer to quota
|
* @pdquot_freed_blocks: pointer to quota
|
||||||
*/
|
*/
|
||||||
|
@ -3196,7 +3196,7 @@ static int ext3_do_update_inode(handle_t *handle,
|
|||||||
*
|
*
|
||||||
* - Within generic_file_write() for O_SYNC files.
|
* - Within generic_file_write() for O_SYNC files.
|
||||||
* Here, there will be no transaction running. We wait for any running
|
* Here, there will be no transaction running. We wait for any running
|
||||||
* trasnaction to commit.
|
* transaction to commit.
|
||||||
*
|
*
|
||||||
* - Within sys_sync(), kupdate and such.
|
* - Within sys_sync(), kupdate and such.
|
||||||
* We wait on commit, if tol to.
|
* We wait on commit, if tol to.
|
||||||
|
@ -3227,7 +3227,7 @@ int ext4_discard_partial_page_buffers(handle_t *handle,
|
|||||||
* handle: The journal handle
|
* handle: The journal handle
|
||||||
* inode: The files inode
|
* inode: The files inode
|
||||||
* page: A locked page that contains the offset "from"
|
* page: A locked page that contains the offset "from"
|
||||||
* from: The starting byte offset (from the begining of the file)
|
* from: The starting byte offset (from the beginning of the file)
|
||||||
* to begin discarding
|
* to begin discarding
|
||||||
* len: The length of bytes to discard
|
* len: The length of bytes to discard
|
||||||
* flags: Optional flags that may be used:
|
* flags: Optional flags that may be used:
|
||||||
@ -3235,11 +3235,11 @@ int ext4_discard_partial_page_buffers(handle_t *handle,
|
|||||||
* EXT4_DISCARD_PARTIAL_PG_ZERO_UNMAPPED
|
* EXT4_DISCARD_PARTIAL_PG_ZERO_UNMAPPED
|
||||||
* Only zero the regions of the page whose buffer heads
|
* Only zero the regions of the page whose buffer heads
|
||||||
* have already been unmapped. This flag is appropriate
|
* have already been unmapped. This flag is appropriate
|
||||||
* for updateing the contents of a page whose blocks may
|
* for updating the contents of a page whose blocks may
|
||||||
* have already been released, and we only want to zero
|
* have already been released, and we only want to zero
|
||||||
* out the regions that correspond to those released blocks.
|
* out the regions that correspond to those released blocks.
|
||||||
*
|
*
|
||||||
* Returns zero on sucess or negative on failure.
|
* Returns zero on success or negative on failure.
|
||||||
*/
|
*/
|
||||||
static int ext4_discard_partial_page_buffers_no_lock(handle_t *handle,
|
static int ext4_discard_partial_page_buffers_no_lock(handle_t *handle,
|
||||||
struct inode *inode, struct page *page, loff_t from,
|
struct inode *inode, struct page *page, loff_t from,
|
||||||
@ -3400,7 +3400,7 @@ int ext4_can_truncate(struct inode *inode)
|
|||||||
* @offset: The offset where the hole will begin
|
* @offset: The offset where the hole will begin
|
||||||
* @len: The length of the hole
|
* @len: The length of the hole
|
||||||
*
|
*
|
||||||
* Returns: 0 on sucess or negative on failure
|
* Returns: 0 on success or negative on failure
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int ext4_punch_hole(struct file *file, loff_t offset, loff_t length)
|
int ext4_punch_hole(struct file *file, loff_t offset, loff_t length)
|
||||||
@ -3922,7 +3922,7 @@ static int ext4_inode_blocks_set(handle_t *handle,
|
|||||||
|
|
||||||
if (i_blocks <= ~0U) {
|
if (i_blocks <= ~0U) {
|
||||||
/*
|
/*
|
||||||
* i_blocks can be represnted in a 32 bit variable
|
* i_blocks can be represented in a 32 bit variable
|
||||||
* as multiple of 512 bytes
|
* as multiple of 512 bytes
|
||||||
*/
|
*/
|
||||||
raw_inode->i_blocks_lo = cpu_to_le32(i_blocks);
|
raw_inode->i_blocks_lo = cpu_to_le32(i_blocks);
|
||||||
@ -4083,7 +4083,7 @@ static int ext4_do_update_inode(handle_t *handle,
|
|||||||
*
|
*
|
||||||
* - Within generic_file_write() for O_SYNC files.
|
* - Within generic_file_write() for O_SYNC files.
|
||||||
* Here, there will be no transaction running. We wait for any running
|
* Here, there will be no transaction running. We wait for any running
|
||||||
* trasnaction to commit.
|
* transaction to commit.
|
||||||
*
|
*
|
||||||
* - Within sys_sync(), kupdate and such.
|
* - Within sys_sync(), kupdate and such.
|
||||||
* We wait on commit, if tol to.
|
* We wait on commit, if tol to.
|
||||||
@ -4327,7 +4327,7 @@ static int ext4_index_trans_blocks(struct inode *inode, int nrblocks, int chunk)
|
|||||||
* worse case, the indexs blocks spread over different block groups
|
* worse case, the indexs blocks spread over different block groups
|
||||||
*
|
*
|
||||||
* If datablocks are discontiguous, they are possible to spread over
|
* If datablocks are discontiguous, they are possible to spread over
|
||||||
* different block groups too. If they are contiuguous, with flexbg,
|
* different block groups too. If they are contiguous, with flexbg,
|
||||||
* they could still across block group boundary.
|
* they could still across block group boundary.
|
||||||
*
|
*
|
||||||
* Also account for superblock, inode, quota and xattr blocks
|
* Also account for superblock, inode, quota and xattr blocks
|
||||||
|
@ -4705,7 +4705,7 @@ void ext4_free_blocks(handle_t *handle, struct inode *inode,
|
|||||||
* ext4_group_add_blocks() -- Add given blocks to an existing group
|
* ext4_group_add_blocks() -- Add given blocks to an existing group
|
||||||
* @handle: handle to this transaction
|
* @handle: handle to this transaction
|
||||||
* @sb: super block
|
* @sb: super block
|
||||||
* @block: start physcial block to add to the block group
|
* @block: start physical block to add to the block group
|
||||||
* @count: number of blocks to free
|
* @count: number of blocks to free
|
||||||
*
|
*
|
||||||
* This marks the blocks as free in the bitmap and buddy.
|
* This marks the blocks as free in the bitmap and buddy.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Trace files that want to automate creationg of all tracepoints defined
|
* Trace files that want to automate creation of all tracepoints defined
|
||||||
* in their file should include this file. The following are macros that the
|
* in their file should include this file. The following are macros that the
|
||||||
* trace file may define:
|
* trace file may define:
|
||||||
*
|
*
|
||||||
|
@ -105,7 +105,7 @@ static const struct file_operations vlandev_fops = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Proc filesystem derectory entries.
|
* Proc filesystem directory entries.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Strings */
|
/* Strings */
|
||||||
|
Loading…
Reference in New Issue
Block a user