[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CY4PR12MB19121C024831331B71899CED8F419@CY4PR12MB1912.namprd12.prod.outlook.com>
Date: Wed, 24 May 2023 07:07:07 +0000
From: "Gangurde, Abhijit" <abhijit.gangurde@....com>
To: Greg KH <gregkh@...uxfoundation.org>
CC: "Agarwal, Nikhil" <nikhil.agarwal@....com>,
"Gupta, Nipun" <Nipun.Gupta@....com>,
"geert@...ux-m68k.org" <geert@...ux-m68k.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"git (AMD-Xilinx)" <git@....com>,
"Simek, Michal" <michal.simek@....com>
Subject: RE: [PATCH 1/1] cdx: Rename MCDI_LOGGING to CDX_MCDI_LOGGING
Hi Greg,
<snip>
> >
> > -#ifdef CONFIG_MCDI_LOGGING
> > +#ifdef CONFIG_CDX_MCDI_LOGGING
> > mcdi->logging_buffer = kmalloc(LOG_LINE_MAX, GFP_KERNEL);
> > if (!mcdi->logging_buffer)
> > goto fail2;
>
> This mess of #ifdef in the .c files is not ok.
>
> Please move all of this "logging" stuff out into proper .h definitions
> so that it's not in the .c code at all.
>
Sure, will cleanup the #ifdefs in c file.
Will also update logging to be controlled by sysfs in next spin.
> thanks,
>
> greg k-h
Powered by blists - more mailing lists