Skip to content

Commit

Permalink
ARC: boot log: fix warning
Browse files Browse the repository at this point in the history
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308221549.XKufWEWp-lkp@intel.com/
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
  • Loading branch information
vineetgarc committed Aug 24, 2023
1 parent 7ebc443 commit c40cad3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arch/arc/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ arcompact_mumbojumbo(int c, struct cpuinfo_arc *info, char *buf, int len)
else
cpu_nm = "ARC770";

n += scnprintf(buf + n, len - n, "processor [%d]\t: %s (%s ISA) %s\n",
c, cpu_nm, isa_nm, IS_AVAIL1(be, "[Big-Endian]"));
n += scnprintf(buf + n, len - n, "processor [%d]\t: %s (%s ISA) %s%s%s\n",
c, cpu_nm, isa_nm,
IS_AVAIL2(atomic, "atomic ", CONFIG_ARC_HAS_LLSC),
IS_AVAIL1(be, "[Big-Endian]"));

READ_BCR(ARC_REG_FP_BCR, fpu_sp);
READ_BCR(ARC_REG_DPFP_BCR, fpu_dp);
Expand Down

0 comments on commit c40cad3

Please sign in to comment.