Re: [PATCH] ahci: Remove the exporting of ahci_em_messages
From: Denis Efremov
Date: Tue Aug 13 2019 - 17:45:01 EST
Hi Jens,
On 11.07.2019 04:03, Liu, Chuansheng wrote:
>> -----Original Message-----
>> From: Denis Efremov [mailto:efremov@xxxxxxxxx]
>> Sent: Wednesday, July 10, 2019 11:29 PM
>> To: Liu, Chuansheng <chuansheng.liu@xxxxxxxxx>
>> Cc: Denis Efremov <efremov@xxxxxxxxx>; Jens Axboe <axboe@xxxxxxxxx>;
>> linux-ide@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
>> Subject: [PATCH] ahci: Remove the exporting of ahci_em_messages
>>
>> The variable ahci_em_messages is declared static and marked
>> EXPORT_SYMBOL_GPL, which is at best an odd combination. Because the
>> variable is not used outside of the drivers/ata/libahci.c file it is
>> defined in, this commit removes the EXPORT_SYMBOL_GPL() marking.
>
> Sounds good to me, thanks.
> Reviewed-by: Chuansheng Liu <chuansheng.liu@xxxxxxxxxxxxxxx>
>
Could you please look at this patch once again and accept it if it's ok?
static ahci_em_messages will trigger a warning after this check
will be in tree https://lkml.org/lkml/2019/7/14/118
Thanks,
Denis