WSL2-Linux-Kernel/arch/mips/dec
Kees Cook 063246641d format-security: move static strings to const
While examining output from trial builds with -Wformat-security enabled,
many strings were found that should be defined as "const", or as a char
array instead of char pointer.  This makes some static analysis easier,
by producing fewer false positives.

As these are all trivial changes, it seemed best to put them all in a
single patch rather than chopping them up per maintainer.

Link: http://lkml.kernel.org/r/20170405214711.GA5711@beast
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Jes Sorensen <jes@trained-monkey.org>	[runner.c]
Cc: Tony Lindgren <tony@atomide.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Yisen Zhuang <yisen.zhuang@huawei.com>
Cc: Salil Mehta <salil.mehta@huawei.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Cc: Felipe Balbi <felipe.balbi@linux.intel.com>
Cc: Jarod Wilson <jarod@redhat.com>
Cc: Florian Westphal <fw@strlen.de>
Cc: Antonio Quartulli <a@unstable.cc>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Kejian Yan <yankejian@huawei.com>
Cc: Daode Huang <huangdaode@hisilicon.com>
Cc: Qianqian Xie <xieqianqian@huawei.com>
Cc: Philippe Reynes <tremyfr@gmail.com>
Cc: Colin Ian King <colin.king@canonical.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Christian Gromm <christian.gromm@microchip.com>
Cc: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Cc: Jason Litzinger <jlitzingerdev@gmail.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-05-08 17:15:14 -07:00
..
prom format-security: move static strings to const 2017-05-08 17:15:14 -07:00
Makefile arch/mips/dec: switch DECstation systems to rtc-cmos 2014-06-06 16:08:07 -07:00
Platform MIPS: Repair Kbuild make clean breakage. 2010-10-19 18:32:39 +01:00
ecc-berr.c MIPS: DEC: Bus error handler <asm/cpu-type.h> fixes 2014-05-13 00:29:35 +02:00
int-handler.S MIPS: DEC: Avoid la pseudo-instruction in delay slots 2016-09-29 18:59:49 +02:00
ioasic-irq.c MIPS: DECstation I/O ASIC DMA interrupt classes 2013-10-29 21:24:42 +01:00
kn01-berr.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
kn02-irq.c MIPS: Convert the irq functions to the new names 2011-03-29 14:48:07 +02:00
kn02xa-berr.c MIPS: DEC: Bus error handler <asm/cpu-type.h> fixes 2014-05-13 00:29:35 +02:00
platform.c arch/mips/dec: switch DECstation systems to rtc-cmos 2014-06-06 16:08:07 -07:00
reset.c [MIPS] Transform old-style macros to newer "__noreturn" 2007-07-10 17:32:56 +01:00
setup.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00
tc.c [TC] TURBOchannel support for the DECstation 2007-02-09 16:23:16 +00:00
time.c MIPS: DECstation HRT initialization rearrangement 2013-09-13 11:56:13 +02:00
wbflush.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00