diff options
| author | Jiri Slaby <[email protected]> | 2022-06-14 11:05:35 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-27 14:17:12 +0200 |
| commit | 1c2f6294a3613b84fc20d6620da078dedbb2ac1e (patch) | |
| tree | f07f5cdd18a232381033ab219873f555ebd6025d /include/linux/workqueue_api.h | |
| parent | 8da443b1a4036b5863fd2ec7e0251164b704c726 (diff) | |
tty/vt: consolemap: improve UNI_*() macros definitions
Use FIELD_GET() and GENMASK() helpers instead of direct shifts and ANDs.
This makes the code even more obvious. I didn't know about the helpers
at the time of writing the macros.
Suggested-by: Ilpo Järvinen <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions