diff options
| author | Patryk Gawroński <gawronski1.6@gmail.com> | 2026-07-22 23:53:25 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-07-28 09:36:21 +0200 |
| commit | 6dcb1b00ca579a22b36141a7f76b64e9835a5f28 (patch) | |
| tree | 7f3eb54f4f91d09f3ad93cda4b172b9d9d3b647a /include/linux | |
| parent | 096571fbb3908e7d8b85ef6afa36e154bbe68aa6 (diff) | |
staging: rtl8723bs: Replace custom RotR1 macro with ror16
The custom RotR1 macro reuses its argument, which throws a checkpatch
warning and can lead to unexpected side-effects if called with an
expression that has side-effects.
Remove the custom macro and replace its usages with the standard
kernel ror16() function from <linux/bitops.h> to clean up the code.
Signed-off-by: Patryk Gawroński <gawronski1.6@gmail.com>
Link: https://patch.msgid.link/20260722215327.62791-1-gawronski1.6@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
