]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
parisc: Avoid printing the hardware path twice
authorHelge Deller <deller@gmx.de>
Fri, 28 Oct 2022 16:12:49 +0000 (18:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2022 17:14:27 +0000 (18:14 +0100)
commitc9598cf629530823fd5d6c3342311895de504707
tree49dac1221a52224b9825ef636ae6b27a190eb372
parent98f836e80d210312ec98ffbbce4a0b6c4b6dc34e
parisc: Avoid printing the hardware path twice

commit 2b6ae0962b421103feb41a80406732944b0665b3 upstream.

Avoid that the hardware path is shown twice in the kernel log, and clean
up the output of the version numbers to show up in the same order as
they are listed in the hardware database in the hardware.c file.
Additionally, optimize the memory footprint of the hardware database
and mark some code as init code.

Fixes: cab56b51ec0e ("parisc: Fix device names in /proc/iomem")
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # v4.9+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/include/asm/hardware.h
arch/parisc/kernel/drivers.c