On 06.07.2022 23:04, Daniel P. Smith wrote: > --- a/xen/include/xen/bootinfo.h > +++ b/xen/include/xen/bootinfo.h > @@ -53,6 +53,17 @@ struct __packed boot_info { > > extern struct boot_info *boot_info; > > +static inline char *bootinfo_prepare_cmdline(struct boot_info *bi) > +{ > + bi->cmdline = arch_bootinfo_prepare_cmdline(bi->cmdline, bi->arch); > + > + if ( *bi->cmdline == ' ' ) > + printk(XENLOG_WARNING "%s: leading whitespace left on cmdline\n", > + __func__);
Just a remark and a question on this one: I don't view the use of __func__ here (and in fact in many other cases as well) as very useful. And why do we need such a warning all of the sudden in the first place? Jan