Thread (1 message) 1 message, 1 author, 2017-11-14

Re: [PATCH net-next] openvswitch: Fix return value check in ovs_meter_cmd_features()

From: Pravin Shelar <hidden>
Date: 2017-11-14 10:57:04

On Tue, Nov 14, 2017 at 11:50 AM, Wei Yongjun [off-list ref] wrote:
In case of error, the function ovs_meter_cmd_reply_start() returns
ERR_PTR() not NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Fixes: 96fbc13d7e77 ("openvswitch: Add meter infrastructure")
Signed-off-by: Wei Yongjun <redacted>
Acked-by: Pravin B Shelar <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help