> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of > Wei Yongjun > Sent: Monday, April 27, 2020 5:12 AM > To: Kirsher, Jeffrey T <jeffrey.t.kirsher@xxxxxxxxx>; Nguyen, Anthony L > <anthony.l.nguyen@xxxxxxxxx> > Cc: intel-wired-lan@xxxxxxxxxxxxxxxx; kernel-janitors@xxxxxxxxxxxxxxx; Wei > Yongjun <weiyongjun1@xxxxxxxxxx>; netdev@xxxxxxxxxxxxxxx > Subject: [Intel-wired-lan] [PATCH net-next] ice: Fix error return code in > ice_add_prof() > > Fix to return a error code from the error handling case instead of 0, as done > elsewhere in this function. > > Fixes: 31ad4e4ee1e4 ("ice: Allocate flow profile") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> > --- > drivers/net/ethernet/intel/ice/ice_flex_pipe.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Tested-by: Andrew Bowers <andrewx.bowers@xxxxxxxxx>