On Mon, 22 Jun 2020 16:35:21 +0300 Florinel Iordache wrote:
> Add support for backplane kr generic driver including link training
> (ieee802.3ap/ba) and fixed equalization algorithm
>
> Signed-off-by: Florinel Iordache <[email protected]>
drivers/net/phy/backplane/backplane.c:60:11: warning: symbol
'backplane_common_features_array' was not declared. Should it be static?
drivers/net/phy/backplane/backplane.c:66:11: warning: symbol
'backplane_protocol_features_array' was not declared. Should it be static?
drivers/net/phy/backplane/backplane.c:1204:40: warning: incorrect type in
assignment (different address spaces)
drivers/net/phy/backplane/backplane.c:1204:40: expected void *[assigned]
reg_base
drivers/net/phy/backplane/backplane.c:1204:40: got void [noderef] <asn:2>
*reg_base
drivers/net/phy/backplane/backplane.c: In function ‘bp_kr_state_machine’:
drivers/net/phy/backplane/backplane.c:590:27: warning: variable ‘bpdev’ set
but not used [-Wunused-but-set-variable]
590 | struct backplane_device *bpdev;
| ^~~~~
drivers/net/phy/backplane/link_training.c: In function ‘lt_train_remote_tx’:
drivers/net/phy/backplane/link_training.c:557:6: warning: variable
‘lp_resp_time’ set but not used [-Wunused-but-set-variable]
557 | u64 lp_resp_time;
| ^~~~~~~~~~~~
drivers/net/phy/backplane/link_training.c: In function ‘lt_train_local_tx’:
drivers/net/phy/backplane/link_training.c:1143:15: warning: variable
‘old_ld_status’ set but not used [-Wunused-but-set-variable]
1143 | int request, old_ld_status;
| ^~~~~~~~~~~~~