Re: [PATCH v3 05/13] sh: Fix set but not used warnings with !CONFIG_MMU

2020-12-07 Thread Thomas Zimmermann
Am 06.12.20 um 20:02 schrieb Sam Ravnborg: Building fbdev drivers for sh with W=1 produces the following warning: tmiofb.c: In function ‘tmiofb_remove’: tmiofb.c:805:21: warning: variable ‘par’ set but not used This is with allmodconfig and ARCH=sh This boiled down to iounmap() def

Re: [PATCH v3 05/13] sh: Fix set but not used warnings with !CONFIG_MMU

2020-12-06 Thread Sam Ravnborg
Hi "kernel test robot" On Sun, Dec 06, 2020 at 10:48:14PM +0100, Sam Ravnborg wrote: > commit aa1f4345b5480502a4e61addf5c59d606fdbce8f > Author: Sam Ravnborg > Date: Mon Nov 30 22:09:29 2020 +0100 > > sh: Fix set but not used warnings with !CONFIG_MMU > > Building fbdev drivers for

Re: [PATCH v3 05/13] sh: Fix set but not used warnings with !CONFIG_MMU

2020-12-06 Thread Sam Ravnborg
commit aa1f4345b5480502a4e61addf5c59d606fdbce8f Author: Sam Ravnborg Date: Mon Nov 30 22:09:29 2020 +0100 sh: Fix set but not used warnings with !CONFIG_MMU Building fbdev drivers for sh with W=1 produces the following warning: tmiofb.c: In function ‘tmiofb_remove’:

Re: [PATCH v3 05/13] sh: Fix set but not used warnings with !CONFIG_MMU

2020-12-06 Thread kernel test robot
Hi Sam, I love your patch! Yet something to improve: [auto build test ERROR on next-20201204] [also build test ERROR on v5.10-rc6] [cannot apply to tegra-drm/drm/tegra/for-next soc/for-next linus/master drm/drm-next v5.10-rc6 v5.10-rc5 v5.10-rc4] [If your patch is applied to the wrong git tree,

[PATCH v3 05/13] sh: Fix set but not used warnings with !CONFIG_MMU

2020-12-06 Thread Sam Ravnborg
Building fbdev drivers for sh with W=1 produces the following warning: tmiofb.c: In function ‘tmiofb_remove’: tmiofb.c:805:21: warning: variable ‘par’ set but not used This is with allmodconfig and ARCH=sh This boiled down to iounmap() defined as empty for !CONFIG_MMU. Fix this by by add