[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87imrjzsgu.fsf@mellanox.com>
Date: Tue, 30 Jul 2019 11:12:35 +0000
From: Petr Machata <petrm@...lanox.com>
To: Colin King <colin.king@...onical.com>
CC: Jiri Pirko <jiri@...lanox.com>, Ido Schimmel <idosch@...lanox.com>,
"David S . Miller" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][next] mlxsw: spectrum_ptp: fix duplicated check on
orig_egr_types
Petr Machata <petrm@...lanox.com> writes:
> Colin King <colin.king@...onical.com> writes:
>
>> From: Colin Ian King <colin.king@...onical.com>
>>
>> Currently there is a duplicated check on orig_egr_types which is
>> redundant, I believe this is a typo and should actually be
>> orig_ing_types || orig_egr_types instead of the expression
>> orig_egr_types || orig_egr_types. Fix this.
>
> Good catch, yes, there's a typo. Thanks for the fix!
>
>> Addresses-Coverity: ("Same on both sides")
>> Fixes: c6b36bdd04b5 ("mlxsw: spectrum_ptp: Increase parsing depth when PTP is enabled")
>> Signed-off-by: Colin Ian King <colin.king@...onical.com>
>
> Reviewed-by: Petr Machata <petrm@...lanox.com>
I see that there is an identical problem in the code one block further.
Can you take care of that as well, please? Or should I do it?
Powered by blists - more mailing lists