> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf > Of Przemyslaw Korba > Sent: Monday, March 2, 2026 1:00 PM > To: [email protected] > Cc: [email protected]; Nguyen, Anthony L > <[email protected]>; Kitszel, Przemyslaw > <[email protected]>; Korba, Przemyslaw > <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next] ice: dpll: Fix compilation > warning > > Introduced by commit ad1df4f2d591 ("ice: dpll: Support E825-C SyncE > and dynamic pin discovery"): > > ice_dpll.c: In function ‘ice_dpll_init’: > ice_dpll.c:3588:59: error: ‘%u’ directive output may be truncated > writing between 1 and 10 bytes into a region of size 4 [- > Werror=format-truncation=] snprintf(pin_name, sizeof(pin_name), > "rclk%u", i); > > Reviewed-by: Przemek Kitszel <[email protected]> > Signed-off-by: Przemyslaw Korba <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice_dpll.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/intel/ice/ice_dpll.c > b/drivers/net/ethernet/intel/ice/ice_dpll.c > index e7d37a2fd1a2..1d89372b4840 100644 > --- a/drivers/net/ethernet/intel/ice/ice_dpll.c > +++ b/drivers/net/ethernet/intel/ice/ice_dpll.c > @@ -3605,7 +3605,7 @@ static int > ice_dpll_init_fwnode_pins(struct ice_pf *pf, struct ice_dpll_pin > *pins, > int start_idx) > { > - char pin_name[8]; > + char pin_name[16]; > int i, ret; > > pf->dplls.wq = create_singlethread_workqueue("ice_dpll_wq"); > > base-commit: d5fbc991435eac7a1ead7cd2ddb5a743528718bb > -- > 2.43.0
Reviewed-by: Aleksandr Loktionov <[email protected]>
