Re: [PATCH] edac: Fix reference count leak in edac_device_register_sysfs_main_kobj()

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

 



>> * The label “err_out” can be replaced by direct return statement,
>>   can't it?
>
> No, it cannot. It keeps the error handling code out-of-line so that the
> function body remains readable.

Have we got different programming expectations also around the application
of the Linux coding style?

Regards,
Markus




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux