diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-08-17 15:12:17 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-08-22 14:20:10 +0200 |
commit | 4d4f1468a002b76fb4796985a11671d50c88e520 (patch) | |
tree | 457683629aa71562e2461494ea5bf9c189267add /fs/ufs/balloc.c | |
parent | a3bf4c36e3bd57c53f3054e47dddecb47a1fbda5 (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 <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/ufs/balloc.c')
0 files changed, 0 insertions, 0 deletions