Re: [PATCH V2] erofs: simplify definition of the log functions

2024-11-13 Thread Gao Xiang
On 2024/11/13 22:41, Gou Hao wrote: Use printk instead of pr_info/err to reduce redundant code. Signed-off-by: Gou Hao --- fs/erofs/internal.h | 14 -- fs/erofs/super.c| 28 +++- 2 files changed, 11 insertions(+), 31 deletions(-) Changes: V2: - re

[PATCH V2] erofs: simplify definition of the log functions

2024-11-13 Thread Gou Hao
Use printk instead of pr_info/err to reduce redundant code. Signed-off-by: Gou Hao --- fs/erofs/internal.h | 14 -- fs/erofs/super.c| 28 +++- 2 files changed, 11 insertions(+), 31 deletions(-) Changes: V2: - remove 'const char *function' from _erofs_pri