lkml.org 
[lkml]   [2023]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 1/1] fs/affs: Rename local toupper() to fn() to avoid confusion
On Thu, Aug 17, 2023 at 03:12:17PM +0300, Andy Shevchenko wrote:
> 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>

Added to affs tree, thanks.

\
 
 \ /
  Last update: 2023-08-17 15:54    [W:0.020 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site