lkml.org 
[lkml]   [2022]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] i2c: designware: Add AMD PSP I2C bus support
On Thu, Jan 20, 2022 at 11:33:05PM +0800, kernel test robot wrote:

> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> drivers/i2c/busses/i2c-designware-amdpsp.c: In function 'psp_send_cmd':
> >> drivers/i2c/busses/i2c-designware-amdpsp.c:130:2: error: implicit declaration of function 'writeq'; did you mean 'writel'? [-Werror=implicit-function-declaration]
> 130 | writeq((uintptr_t)__psp_pa((void *)req), &mbox->i2c_req_addr);
> | ^~~~~~
> | writel
> cc1: some warnings being treated as errors

Adding io-64-nonatomic-lo-hi.h after io.h should fix this.


--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2022-01-20 18:12    [W:0.440 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site