affs: rename local toupper() to fn() to avoid confusion
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 17 Aug 2023 12:12:17 +0000 (15:12 +0300)
committerDavid Sterba <dsterba@suse.com>
Tue, 22 Aug 2023 12:20:10 +0000 (14:20 +0200)
commit4d4f1468a002b76fb4796985a11671d50c88e520
tree457683629aa71562e2461494ea5bf9c189267add
parenta3bf4c36e3bd57c53f3054e47dddecb47a1fbda5
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>
fs/affs/namei.c