summaryrefslogtreecommitdiff
path: root/tools/lib/traceevent/plugin_cfg80211.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-11-06 12:13:00 +0300
committerJonathan Cameron <jic23@kernel.org>2014-06-14 18:31:20 +0400
commit4f3bcd878f1d3c730fe00f619b7260c6125d49eb (patch)
treea1cca2b92384c509819893f9931fd8b48d8c824c /tools/lib/traceevent/plugin_cfg80211.c
parent19bc4981a213d0c5b0e1e8b08815c0b26f01ec54 (diff)
downloadlinux-4f3bcd878f1d3c730fe00f619b7260c6125d49eb.tar.xz
iio: adc: at91: signedness bug in at91_adc_get_trigger_value_by_name()
at91_adc_get_trigger_value_by_name() was returning -ENOMEM truncated to a positive u8 and that doesn't work. I've changed it to int and refactored it to preserve the error code. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Tested-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Cc: Stable@vger.kernel.org
Diffstat (limited to 'tools/lib/traceevent/plugin_cfg80211.c')
0 files changed, 0 insertions, 0 deletions