aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2013-05-25 01:41:44 +0800
committerAnton Vorontsov <[email protected]>2013-06-06 17:33:40 -0700
commitd211c6e82435dfa4ae9f4d80bb2ee75930bde5d4 (patch)
tree1bde31258a74078e08d3d814bf56072a6be0cfab /net/unix/sysctl_net_unix.c
parente08358792422ef0b78d7c81f333fc0803fb41cd4 (diff)
generic-adc-battery: Fix checking if none of the channels are supported
If none of the channels are supported, index is 0. Also ensure to return error code instead of 0 in goto second_mem_fail path. Signed-off-by: Axel Lin <[email protected]> Acked-by: anish kumar <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions