[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <919a7e27-2f61-ad58-b366-078ff058ddef@huawei.com>
Date: Mon, 19 Sep 2022 21:20:37 +0800
From: Ren Zhijie <renzhijie2@...wei.com>
To: Daniel Wagner <dwagner@...e.de>
CC: <njavali@...vell.com>, <GR-QLogic-Storage-Upstream@...vell.com>,
<jejb@...ux.ibm.com>, <martin.petersen@...cle.com>,
<aeasi@...vell.com>, <himanshu.madhani@...cle.com>,
<linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] scsi: qla2xxx: Fix build error
implicit-function-declaration
在 2022/9/19 15:17, Daniel Wagner 写道:
> On Mon, Sep 19, 2022 at 11:08:10AM +0800, Ren Zhijie wrote:
>> +#ifdef CONFIG_TRACING
>> static void
>> qla_trace_init(void)
>> {
>> @@ -2868,7 +2871,7 @@ qla_trace_uninit(void)
>> return;
>> trace_array_put(qla_trc_array);
>> }
>> -
>> +#endif
> FWIW, the qla2xxx driver uses a different pattern for ifdefs
>
> static void
> qla_trace_init(void)
> {
> #ifdef CONFIG_TRACING
> [...]
> #endif
> }
>
> This avoid to updated the callside with ifdefs.
Thanks, I will send patch v2.
Ren
> .
.
Powered by blists - more mailing lists