]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: change type of virtio_chan->p9_max_pages
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Thu, 7 Feb 2013 01:27:12 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:55 +0000 (16:46 +1100)
commit360b7158940130959fc2b284b74b52ff8c416fe4
treecbc94b1304e8bcea0c78913dc4a7f4adb346d2dd
parenta2e32dd43894d40bcba3a77c787d125972f7feb8
net: change type of virtio_chan->p9_max_pages

This member of struct virtio_chan is calculated from nr_free_buffer_pages
so change its type to unsigned long in case of overflow.

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Cc: David Miller <davem@davemloft.net>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@sandia.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
net/9p/trans_virtio.c