Re: [PATCH] fix similar typos to successfull

From: Coly Li
Date: Mon Nov 24 2008 - 12:31:43 EST




Randy Dunlap Wrote:
> Coly Li wrote:
>> Randy Dunlap Wrote:
>>> Coly Li wrote:
>>>> When I review ocfs2 code, find there are 2 typos to "successfull". After doing grep "successfull "
>>>> in kernel tree, 22 typos found totally -- great minds always think alike :)
>>>>
>>>> This patch fixes all the similar typos.
>>>>
>>>> Singed-off-by: Coly Li <coyli@xxxxxxx>
>>>> ---
>>>> Documentation/hwmon/abituguru-datasheet | 4 ++--
>>>> Documentation/scsi/scsi_fc_transport.txt | 4 ++--
>>>> arch/powerpc/platforms/cell/spufs/spufs.h | 2 +-
>>>> drivers/infiniband/hw/nes/nes_cm.c | 2 +-
>>>> drivers/isdn/hardware/eicon/debuglib.h | 2 +-
>>>> drivers/isdn/hardware/eicon/os_4bri.c | 2 +-
>>>> drivers/isdn/hardware/eicon/os_bri.c | 2 +-
>>>> drivers/isdn/hardware/eicon/os_pri.c | 2 +-
>>>> drivers/mtd/ubi/kapi.c | 2 +-
>>>> drivers/net/wireless/ath5k/dma.c | 2 +-
>>>> drivers/net/wireless/zd1211rw/zd_mac.c | 2 +-
>>>> drivers/s390/block/dasd_3990_erp.c | 2 +-
>>>> drivers/s390/block/dasd_int.h | 2 +-
>>>> drivers/s390/char/tape_3590.c | 2 +-
>>>> drivers/s390/cio/cio.c | 2 +-
>>>> drivers/s390/cio/qdio_main.c | 2 +-
>>>> fs/ext4/extents.c | 2 +-
>>>> fs/ocfs2/dlmglue.c | 4 ++--
>>>> net/sctp/auth.c | 2 +-
>>>> 19 files changed, 22 insertions(+), 22 deletions(-)
>>> Ack all <deleted> patches. However, I don't think that the
>>> one below needs to use -ly. Just change to "successful" IMO,
>>> as in: Log this successful return from ocfs2_dlm_lock
>>>
>> So "return" here is noun, not verb ?
>
> Yes.
This line comes from the first patch of ocfs2, IMHO, it's ok for noun or verb. If here is noun,
corresponded fix should be successful.

Thanks.
>
>> Thanks for ack :)
>>> Thanks.
>>>
>>>> diff --git a/fs/ocfs2/dlmglue.c b/fs/ocfs2/dlmglue.c
>>>> index ec68442..d0cd0e1 100644
>>>> --- a/fs/ocfs2/dlmglue.c
>>>> +++ b/fs/ocfs2/dlmglue.c
>>>> @@ -1290,7 +1290,7 @@ again:
>>>> goto out;
>>>> }
>>>>
>>>> - mlog(0, "lock %s, successfull return from ocfs2_dlm_lock\n",
>>>> + mlog(0, "lock %s, successfully return from ocfs2_dlm_lock\n",
>>>> lockres->l_name);
>>>>
>>>> /* At this point we've gone inside the dlm and need to
>>>> @@ -2923,7 +2923,7 @@ static int ocfs2_drop_lock(struct ocfs2_super *osb,
>>>> ocfs2_dlm_dump_lksb(&lockres->l_lksb);
>>>> BUG();
>>>> }
>>>> - mlog(0, "lock %s, successfull return from ocfs2_dlm_unlock\n",
>>>> + mlog(0, "lock %s, successfully return from ocfs2_dlm_unlock\n",
>>>> lockres->l_name);
>>>>
>>>> ocfs2_wait_on_busy_lock(lockres);
>
>

--
Coly Li
SuSE PRC Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/