powerpc/powernv: Use ssize_t for sysparam return values
authorJoel Stanley <joel@jms.id.au>
Thu, 24 Apr 2014 07:25:34 +0000 (16:55 +0930)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Apr 2014 03:08:48 +0000 (13:08 +1000)
commitb8569d230416c490065098684adf13c1751cb830
tree572141c37462153c8bd4c37daaf659767b1a3cf6
parentba9a32b176c31ec4d3d7314bb2e529a85423f7a4
powerpc/powernv: Use ssize_t for sysparam return values

The OPAL calls are returning int64_t values, which the sysparam code
stores in an int, and the sysfs callback returns ssize_t. Make code a
easier to read by consistently using ssize_t.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/opal-sysparam.c