[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151215.115516.1151100457916943363.davem@davemloft.net>
Date: Tue, 15 Dec 2015 11:55:16 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ogerlitz@...lanox.com
Cc: a.hajda@...sung.com, jackm@....mellanox.co.il,
b.zolnierkie@...sung.com, m.szyprowski@...sung.com,
eranbe@...lanox.com, hadarh@...lanox.com, monis@...lanox.com,
yishaih@...lanox.com, maorg@...lanox.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/mlx4_core: fix handling return value of
mlx4_slave_convert_port
From: Or Gerlitz <ogerlitz@...lanox.com>
Date: Tue, 15 Dec 2015 11:09:40 +0200
> On 12/14/2015 12:05 PM, Andrzej Hajda wrote:
>> The function can return negative values, so its result should
>> be assigned to signed variable.
>>
>> The problem has been detected using proposed semantic patch
>> scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1].
>>
>> [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107
>>
>
> Please add here
>
> Fixes: fc48866f7 ('net/mlx4: Adapt code for N-Port VF')
>
>> Signed-off-by: Andrzej Hajda <a.hajda@...sung.com>
>
> otherwise, Looks good
>
> Acked-by: Or Gerlitz <ogerlitz@...lanox.com>
Applied with Fixes tag added.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists