Re: [GIT PULL] parisc architecture warning fix for kernel v5.15-rc2

From: Randy Dunlap
Date: Thu Sep 16 2021 - 16:03:34 EST


On 9/16/21 12:45 PM, Guenter Roeck wrote:
On 9/16/21 8:29 AM, Helge Deller wrote:
Hi Linus,

please pull one parisc architecture warning fix for kernel 5.15-rc2 from:

   http://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git tags/for-5.15/parisc-4

One patch which fixes a build warning when using the PAGE0 pointer.


Grumble:

Building parisc:allmodconfig ... failed
--------------
Error log:
In file included from drivers/net/phy/dp83640.c:23:
drivers/net/phy/dp83640_reg.h:8: error: "PAGE0" redefined [-Werror]
    8 | #define PAGE0                     0x0000

No, I didn't see that coming either. It _was_ there before, I just didn't notice.

Looks like that define isn't even used anywhere.
I'll send a patch to remove it.

Already merged in the net tree.


--
~Randy