On Sat, Dec 22, 2018 at 10:43:32AM +0300, Dan Carpenter wrote: > The "num_actions" variable needs to be signed for the error handling to > work. The maximum number of actions is less than 256 so int type is > large enough for that. > > Fixes: cbfdd442c43e ("IB/uverbs: Add helper to get array size from ptr attribute") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Acked-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > drivers/infiniband/hw/mlx5/flow.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to for-next Thanks, Jason