]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE
authorDouglas Anderson <dianders@chromium.org>
Fri, 20 Oct 2023 21:06:58 +0000 (14:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2023 17:36:34 +0000 (18:36 +0100)
commit00beca907a7be61da935bb687f9601420fc5f8a8
tree7948df68c5857668d0cc09a475db2232328d204c
parent89c619b1b65607f70b97103f2377c71c7db85b6b
r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE

[ Upstream commit 715f67f33af45ce2cc3a5b1ef133cc8c8e7787b0 ]

Whenever the RTL8152_UNPLUG is set that just tells the driver that all
accesses will fail and we should just immediately bail. A future patch
will use this same concept at a time when the driver hasn't actually
been unplugged but is about to be reset. Rename the flag in
preparation for the future patch.

This is a no-op change and just a search and replace.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 32a574c7e268 ("r8152: Add RTL8152_INACCESSIBLE checks to more loops")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/usb/r8152.c