Re: [PATCH v2 0/2] sparc32: srmmu: improve type safety of __nocache_fix()

From: David Miller
Date: Tue Jul 21 2020 - 21:26:21 EST


From: Mike Rapoport <rppt@xxxxxxxxxx>
Date: Sat, 27 Jun 2020 11:16:51 +0300

> From: Mike Rapoport <rppt@xxxxxxxxxxxxx>
>
> Hi,
>
> 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+

Series applied, thanks Mike.