summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorAashish Sharma <shraash@google.com>2022-06-14 02:22:24 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-06-19 19:22:49 +0300
commit70171ed6dc53d2f580166d47f5b66cf51a6d0092 (patch)
tree8cc944ee630b8d5aa1638b0cfe6843d99643a755 /Documentation
parentbf745142cc0a3e1723f9207fb0c073c88464b7b4 (diff)
downloadlinux-70171ed6dc53d2f580166d47f5b66cf51a6d0092.tar.xz
iio:proximity:sx9324: Check ret value of device_property_read_u32_array()
0-day reports: drivers/iio/proximity/sx9324.c:868:3: warning: Value stored to 'ret' is never read [clang-analyzer-deadcode.DeadStores] Put an if condition to break out of switch if ret is non-zero. Signed-off-by: Aashish Sharma <shraash@google.com> Fixes: a8ee3b32f5da ("iio:proximity:sx9324: Add dt_binding support") Reported-by: kernel test robot <lkp@intel.com> [swboyd@chromium.org: Reword commit subject, add fixes tag] Signed-off-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Gwendal Grignou <gwendal@chromium.org> Link: https://lore.kernel.org/r/20220613232224.2466278-1-swboyd@chromium.org Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions