OSDN Git Service

staging:iio:documentation make read_size signed to allow for errors.
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 15 Apr 2011 17:56:00 +0000 (18:56 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Apr 2011 00:23:11 +0000 (17:23 -0700)
commitc77b38108d6aaae05823e02d7df28b6e0d5ffdad
tree346c0a94ab4630c03f7f353794715f7be25b216c
parent3dba81ba803ca0cd7a1bc0dc6f21536b30ad059f
staging:iio:documentation make read_size signed to allow for errors.

Without this all hell breaks loose if you have no data.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/Documentation/generic_buffer.c