]> git.baikalelectronics.ru Git - kernel.git/commit
alpha: Use absolute_pointer to define COMMAND_LINE
authorGuenter Roeck <linux@roeck-us.net>
Wed, 15 Sep 2021 03:52:27 +0000 (20:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Sep 2021 19:04:28 +0000 (12:04 -0700)
commit75f4848c5cc71e3ff28108fbb86dd7bc3045e083
tree9b342cb4470066c4d5e23ca9d5c9c605ab3c52f4
parent948faec3a704ed09c16b4a95e5f329f3e0af0741
alpha: Use absolute_pointer to define COMMAND_LINE

alpha:allmodconfig fails to build with the following error
when using gcc 11.x.

  arch/alpha/kernel/setup.c: In function 'setup_arch':
  arch/alpha/kernel/setup.c:493:13: error:
'strcmp' reading 1 or more bytes from a region of size 0

Avoid the problem by declaring COMMAND_LINE as absolute_pointer().

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/include/asm/setup.h