Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1514095

Re: [PATCH 1/1] xen-netfront: cast grant table reference first to type int

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] xen-netfront: cast grant table reference first to type int
Date 2016-11-02 20:40 +0100
Message-ID <sz9ya-20h-9@gated-at.bofh.it> (permalink)
References <sySdY-7QX-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Dongli Zhang <dongli.zhang@oracle.com>
Date: Wed,  2 Nov 2016 09:04:33 +0800

> 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>

Applied.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] xen-netfront: cast grant table reference first to type int Dongli Zhang <dongli.zhang@oracle.com> - 2016-11-02 02:10 +0100
  Re: [PATCH 1/1] xen-netfront: cast grant table reference first to  type int David Miller <davem@davemloft.net> - 2016-11-02 20:40 +0100

csiph-web