diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-08-27 17:35:51 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2018-08-28 04:21:14 +0200 |
commit | cff7499d7eb4196f21fdd1bf643aad12d846ee5d (patch) | |
tree | ecc8f2d12fba91e27fd50c74668bfd87bddd024b /include/asm-generic/ptrace.h | |
parent | extcon: maxim: Add SPDX license identifiers (diff) | |
download | linux-cff7499d7eb4196f21fdd1bf643aad12d846ee5d.tar.xz linux-cff7499d7eb4196f21fdd1bf643aad12d846ee5d.zip |
extcon: Make static analyzer happy about union assignment
When assign unions we need to supply non-scalar value, otherwise
static analyzer is not happy:
CHECK drivers/extcon/extcon.c
drivers/extcon/extcon.c:631:22: warning: cast to non-scalar
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'include/asm-generic/ptrace.h')
0 files changed, 0 insertions, 0 deletions