Re: [PATCH 1/3] proc: Add get_task_cmdline_kernel() function

From: Helge Deller
Date: Sun Aug 07 2022 - 11:12:41 EST


On 8/7/22 16:28, kernel test robot wrote:
> Hi Helge,
>
> I love your patch! Perhaps something to improve:
>
> [auto build test WARNING on tip/x86/mm]
> [also build test WARNING on linus/master]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
> [...]
> include/linux/proc_fs.h:222:72: warning: omitting the parameter name in a function definition is a C2x extension [-Wc2x-extensions]
> static inline void get_task_cmdline_kernel(struct task_struct *, char *, size_t) { }
> ^
Will fix.

Thanks!
Helge