All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/1] sh: W=1 warning fixes in fbdev
@ 2020-12-08 18:21 Sam Ravnborg
  2020-12-08 18:21 ` [PATCH] sh: Fix set but not used warnings with !CONFIG_MMU Sam Ravnborg
  0 siblings, 1 reply; 4+ messages in thread
From: Sam Ravnborg @ 2020-12-08 18:21 UTC (permalink / raw)
  To: Yoshinori Sato, Rich Felker, linux-sh
  Cc: kernel test robot, Thomas Zimmermann, Lee Jones, Arnd Bergmann,
	Geert Uytterhoeven, Mike Rapoport, Kuninori Morimoto,
	Peter Zijlstra, Sam Ravnborg, Andrew Morton

In certain configurations the current definition of iounmap()
caused set-but-not-used warnings.

This is fixed by casting the input parameter with (void).

The sole patch included here was a part of a larger video/fbdev/
set of patches.  This explains the "v4" tag.

Yoshinori san and Rich - please apply to the sh tree.

	Sam

Sam Ravnborg (1):
      sh: Fix set but not used warnings with !CONFIG_MMU

 arch/sh/include/asm/io.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-08 20:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 18:21 [PATCH v4 0/1] sh: W=1 warning fixes in fbdev Sam Ravnborg
2020-12-08 18:21 ` [PATCH] sh: Fix set but not used warnings with !CONFIG_MMU Sam Ravnborg
2020-12-08 18:52   ` Thomas Zimmermann
2020-12-08 19:00     ` Sam Ravnborg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.