Re: [PATCH 5/5] block: switch ldm partition code to use pr_xxx() functions

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

 



On 08.08.23 19:56, Damien Le Moal wrote:
> +#define ldm_debug(f, a...) pr_debug("%s(): " f, __func__, ##a) +#define 
> ldm_crit(f, a...) pr_crit("%s(): " f, __func__, ##a) +#define 
> ldm_error(f, a...) pr_err("%s(): " f, __func__, ##a) +#define 
> ldm_info(f, a...) pr_info("%s(): " f, __func__, ##a)

Is there any value in keeping these ldm_XXX() macros around, other than 
printing the function name?

I'd just get rid of them as well and replace with the according pr_XXX() 
calls.




[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