From: Dan Carpenter <dan.carpen...@oracle.com> Date: Wed, 14 Jun 2017 13:29:31 +0300
> I'm reviewing static checker warnings where we do ERR_PTR(0), which is > the same as NULL. I'm pretty sure we intended to return ERR_PTR(-EINVAL) > here. Sometimes these bugs lead to a NULL dereference but I don't > immediately see that problem here. > > Fixes: 71d0ed7079df ("net/act_pedit: Support using offset relative to the > conventional network headers") > Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com> Applied.