Re: [PATCH] bcache: fix wrong return value in bch_debug_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/25/2017 03:39 AM, tang.junhui@xxxxxxxxxx wrote:
> From: Tang Junhui <tang.junhui@xxxxxxxxxx>
> 
> in bch_debug_init(), ret is always 0, and the return value is useless,
> change it to return 0 if be success after calling debugfs_create_dir(),
> else return a non-zero value.
> 
> Signed-off-by: Tang Junhui <tang.junhui@xxxxxxxxxx>

LGTM, applied to my staging branch.  (Still line ending issues but
easily fixed with checkpatch.pl --fix)

Thanks,

Mike



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux