aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-08-17 15:12:17 +0300
committerDavid Sterba <[email protected]>2023-08-22 14:20:10 +0200
commit4d4f1468a002b76fb4796985a11671d50c88e520 (patch)
tree457683629aa71562e2461494ea5bf9c189267add /rust/helpers.c
parenta3bf4c36e3bd57c53f3054e47dddecb47a1fbda5 (diff)
affs: rename local toupper() to fn() to avoid confusion
A compiler may see the collision with the toupper() defined in ctype.h: fs/affs/namei.c:159:19: warning: unused variable 'toupper' [-Wunused-variable] 159 | toupper_t toupper = affs_get_toupper(sb); To prevent this from happening, rename toupper local variable to fn. Initially this had been introduced by 24579a881513 ("v2.4.3.5 -> v2.4.3.6") in the history.git by history group. Reported-by: kernel test robot <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions