Re: [PATCH 5/5] block: switch ldm partition code to use pr_xxx() functions
From: Johannes Thumshirn <hidden>
Date: 2023-08-15 10:07:10
From: Johannes Thumshirn <hidden>
Date: 2023-08-15 10:07:10
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.