summaryrefslogtreecommitdiff
path: root/kernel/gcov
diff options
context:
space:
mode:
authorAndreas Ruprecht <rupran@einserver.de>2011-12-02 16:56:55 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-08 19:30:23 (GMT)
commitbba42776f5bade198d3bf918689da02acb63dadb (patch)
tree4e71fbfb21ea5cb7c9aca306eddec164ca39f368 /kernel/gcov
parent0c9d19646249e0124f1d82fb939e5ba76cb1af3c (diff)
downloadlinux-bba42776f5bade198d3bf918689da02acb63dadb.tar.xz
Staging: iio/accel: Changed data type of mask in store_measurement_mode() to u8
In sca3000_store_measurement_mode() we parse a value from a string buffer via kstrtou8, and store the parsed value into a u8 after and-ing it with mask. As we are only interested in the lowest two bits here and mask is initialized with a fixed value 0x03, mask may as well be a u8. Signed-off-by: Andreas Ruprecht <rupran@einserver.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/gcov')
0 files changed, 0 insertions, 0 deletions