Skip to content
Commit 269ebce4 authored by Dongli Zhang's avatar Dongli Zhang Committed by David S. Miller
Browse files

xen-netfront: cast grant table reference first to type int



IS_ERR_VALUE() in commit 87557efc
("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: default avatarDongli Zhang <dongli.zhang@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4fd19c15
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment