Re: [PATCH AUTOSEL 4.4 19/29] um: registers: Rename function names to avoid conflicts and build problems

From: Johannes Berg
Date: Tue Jan 18 2022 - 03:04:39 EST


On Mon, 2022-01-17 at 22:08 -0500, Sasha Levin wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> [ Upstream commit 077b7320942b64b0da182aefd83c374462a65535 ]
>
> The function names init_registers() and restore_registers() are used
> in several net/ethernet/ and gpu/drm/ drivers for other purposes (not
> calls to UML functions), so rename them.
>
> This fixes multiple build errors.

FWIW, this is certainly fine to backport, but also almost certainly not
necessary: most likely all those drivers cannot be built before 5.14
(commit 68f5d3f3b654 ("um: add PCI over virtio emulation driver"))
anyway.

johannes