diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-12-06 16:50:28 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-11 13:47:15 +0300 |
commit | bab0a828543a315143cf84ab1f7fc5002aa28043 (patch) | |
tree | 5f6322826214614aeef1aeffe71399fdaf68fa9a /fs/ntfs/logfile.c | |
parent | ccab04dc573e874899a44fd25a4c882d5e3c6de0 (diff) | |
download | linux-bab0a828543a315143cf84ab1f7fc5002aa28043.tar.xz |
fbdev/vesafb: Replace references to global screen_info by local pointer
[ Upstream commit 3218286bbb78cac3dde713514529e0480d678173 ]
Get the global screen_info's address once and access the data via
this pointer. Limits the use of global state.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231206135153.2599-4-tzimmermann@suse.de
Stable-dep-of: c2bc958b2b03 ("fbdev: vesafb: Detect VGA compatibility from screen info's VESA attributes")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/ntfs/logfile.c')
0 files changed, 0 insertions, 0 deletions