diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-08-07 01:34:21 +0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2018-08-07 10:20:18 +0300 |
commit | 554ec508653688c21d9b8024af73a1ffaa0164b9 (patch) | |
tree | 4e03580a008d12457bf63e49e6aa981cede9e730 /lib/bug.c | |
parent | ffaa619af1b062d5a37871df6363aa52356007a7 (diff) | |
download | linux-554ec508653688c21d9b8024af73a1ffaa0164b9.tar.xz |
lib/vsprintf: Do not handle %pO[^F] as %px
This patch avoids that gcc reports the following when building with W=1:
lib/vsprintf.c:1941:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
switch (fmt[1]) {
^~~~~~
Fixes: 7b1924a1d930eb2 ("vsprintf: add printk specifier %px")
Link: http://lkml.kernel.org/r/20180806223421.11995-1-bart.vanassche@wdc.com
Cc: linux-kernel@vger.kernel.org
Cc: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Cc: Joe Perches <joe@perches.com>
Cc: Rob Herring <robh@kernel.org>
Cc: v4.15+ <stable@vger.kernel.org>
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions