commit | 269ebce4531b8edc4224259a02143181a1c1d77c | [log] [tgz] |
---|---|---|
author | Dongli Zhang <dongli.zhang@oracle.com> | Wed Nov 02 09:04:33 2016 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 02 15:33:36 2016 -0400 |
tree | 60b0d28e753d5a82bd4ad84f98010c75841d37bb | |
parent | 4fd19c15decedd06d707e2691c24fce08700e2b1 [diff] |
xen-netfront: cast grant table reference first to type int IS_ERR_VALUE() in commit 87557efc27f6a50140fb20df06a917f368ce3c66 ("xen-netfront: do not cast grant table reference to signed short") would not return true for error code unless we cast ref first to type int. Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>