linux/arch/powerpc
Chen Gang e0513d9ea8 arch/powerpc/kernel: Use %12.12s instead of %12s to avoid memory overflow
for tmp_part->header.name:
    it is "Terminating null required only for names < 12 chars".
    so need to limit the %.12s for it in printk

  additional info:

    %12s  limit the width, not for the original string output length
          if name length is more than 12, it still can be fully displayed.
          if name length is less than 12, the ' ' will be filled before name.

    %.12s truly limit the original string output length (precision)

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-11-25 11:50:57 +11:00
..
boot powerpc/85xx: typo in dts: "interupt" (four devices) 2013-11-22 16:57:25 -06:00
configs powerpc: Add pseries_le_defconfig 2013-11-21 09:19:23 +11:00
crypto
include powerpc/kdump: Adding symbols in vmcoreinfo to facilitate dump filtering 2013-11-25 11:50:12 +11:00
kernel arch/powerpc/kernel: Use %12.12s instead of %12s to avoid memory overflow 2013-11-25 11:50:57 +11:00
kvm
lib
math-emu
mm powerpc/booke: Only check for hugetlb in flush if vma != NULL 2013-11-22 16:57:29 -06:00
net
oprofile
perf
platforms powerpc: allyesconfig should not select CONFIG_CPU_LITTLE_ENDIAN 2013-11-25 11:49:12 +11:00
sysdev
xmon
Kconfig
Kconfig.debug
Makefile powerpc: Fix error when cross building TAGS & cscope 2013-11-25 11:49:11 +11:00
relocs_check.pl