Subject: Re: [PATCH net-next 04/12] net/mlxsw: Convert to i2c's .probe_new()

From: Jakub Kicinski <[email-masked]>
Date: Mon, 21 Nov 2022 20:33:30 -0800

On Tue, 22 Nov 2022 06:20:23 +0800 kernel test robot wrote:
>    drivers/net/ethernet/mellanox/mlxsw/i2c.c: In function 'mlxsw_i2c_probe':
>    drivers/net/ethernet/mellanox/mlxsw/i2c.c:637:42: error: implicit declaration of function 'i2c_client_get_device_id'; did you mean 'i2c_get_device_id'? [-Werror=implicit-function-declaration]
>      637 |         const struct i2c_device_id *id = i2c_client_get_device_id(client);
>          |                                          ^~~~~~~~~~~~~~~~~~~~~~~~
>          |                                          i2c_get_device_id
> >> drivers/net/ethernet/mellanox/mlxsw/i2c.c:637:42: warning: initialization of 'const struct i2c_device_id *' from 'int' makes pointer from integer without a cast [-Wint-conversion]  
>    cc1: some warnings being treated as errors

Ah, we need to pull that branch you mentioned in the cover letter after
all.. will do tomorrow.