[PATCH] soc: microchip: make mpfs_sys_controller_put static

Nicolas Ferre nicolas.ferre at microchip.com
Mon Feb 28 08:25:04 PST 2022


On 28/02/2022 at 16:42, Arnd Bergmann wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> On Sat, Feb 26, 2022 at 1:48 PM Conor Dooley <mail at conchuod.ie> wrote:
>>
>> From: Conor Dooley <conor.dooley at microchip.com>
>>
>> dsafsdfd0054 ("soc: add microchip polarfire soc system controller")
>> incorrectly exported mpfs_sys_controller_put. Remove the export and make
>> the function static instead. This fixes the "no previous prototype
>> for 'mpfs_sys_controller_put'" warning spotted by the kernel test robot.
>>
>> Fixes: dsafsdfd0054 ("soc: add microchip polarfire soc system
>> controller")
>> Reported-by: kernel test robot <lkp at intel.com>
>> Signed-off-by: Conor Dooley <conor.dooley at microchip.com>
>> Signed-off-by: Conor Dooley <mail at conchuod.ie>
> 
> For reference, I saw the same report and added a different fix for  this
> at first, but replaced it with this patch now. No need to add it to the at91
> tree. Nicolas, in case there is another problem with this patch, let me know.

Ok Arnd, thanks.

For the record:
Reviewed-by: Nicolas Ferre <nicolas.ferre at microchip.com>


-- 
Nicolas Ferre



More information about the linux-riscv mailing list