Merge branch 'sparc32-srmmu-improve-type-safety-of-__nocache_fix'
authorDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2020 01:25:59 +0000 (18:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jul 2020 01:25:59 +0000 (18:25 -0700)
commitaecc63ae8271f46d317178c7fe77db358315bd20
tree9578ec169cd59c43f04aeeeae1ba4fe4b6cfd5d4
parent7780918b36489f0b2f9a3749d7be00c2ceaec513
parentc0d5b0c721b67d13796914031cc8b9bbf2c7f453
Merge branch 'sparc32-srmmu-improve-type-safety-of-__nocache_fix'

Mike Rapoport says:

====================
sparc32: srmmu: improve type safety of __nocache_fix()

As discussed at [1] the __nocache_fix() macro in sparc's SRMMU can be made
type safe and so the compiler will yell anout misuse of pXd pointers for
which the __nocache_fix() is primarily used.

The first patch is an fix of such misuse that I've discovered after adding
type cast to __nocache_fix(), but to avoid breaking bisection I've made it
the first commit.

v2: rebased on v5.8-rc2+
====================

Signed-off-by: David S. Miller <davem@davemloft.net>