summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>2022-02-21 22:25:10 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-25 10:01:35 +0100
commitac1569b7dca22e6bc05585093c90cb11fcc10fbd (patch)
tree10467765c62948b990c2ec96094a72f11572440e
parentefae250a1a12196523f6fdbac3c5f7a440b5edce (diff)
downloadlinux-stable-ac1569b7dca22e6bc05585093c90cb11fcc10fbd.tar.gz
linux-stable-ac1569b7dca22e6bc05585093c90cb11fcc10fbd.tar.bz2
linux-stable-ac1569b7dca22e6bc05585093c90cb11fcc10fbd.zip
staging: vt6656: Fix CamelCase warnings in macro
This patch fixes the checkpatch.pl warnings like: - CHECK: Avoid CamelCase: <uVar> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/53072a97348b08276b083ce18188b9199cbfaae6.1645477326.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/vt6656/device.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h
index dda38c2a6f06..0ab2d60204e8 100644
--- a/drivers/staging/vt6656/device.h
+++ b/drivers/staging/vt6656/device.h
@@ -381,11 +381,11 @@ struct vnt_private {
struct ieee80211_low_level_stats low_stats;
};
-#define ADD_ONE_WITH_WRAP_AROUND(uVar, uModulo) { \
- if ((uVar) >= ((uModulo) - 1)) \
- (uVar) = 0; \
+#define ADD_ONE_WITH_WRAP_AROUND(var, modulo) { \
+ if ((var) >= ((modulo) - 1)) \
+ (var) = 0; \
else \
- (uVar)++; \
+ (var)++; \
}
int vnt_init(struct vnt_private *priv);