From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH 1/2] media: omap3isp: Remove cacheflush.h Date: Tue, 23 Jun 2020 04:19:15 +0300 Message-ID: <20200623011915.GP5852@pendragon.ideasonboard.com> References: <20200622234740.72825-1-natechancellor@gmail.com> <20200622234740.72825-2-natechancellor@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from perceval.ideasonboard.com ([213.167.242.64]:55052 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731667AbgFWBTm (ORCPT ); Mon, 22 Jun 2020 21:19:42 -0400 Content-Disposition: inline In-Reply-To: <20200622234740.72825-2-natechancellor@gmail.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Nathan Chancellor Cc: Andrew Morton , Mauro Carvalho Chehab , Arnd Bergmann , Christoph Hellwig , Geert Uytterhoeven , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, clang-built-linux@googlegroups.com Hi Nathan, Thank you for the patch. On Mon, Jun 22, 2020 at 04:47:39PM -0700, Nathan Chancellor wrote: > After mm.h was removed from the asm-generic version of cacheflush.h, > s390 allyesconfig shows several warnings of the following nature: > > In file included from ./arch/s390/include/generated/asm/cacheflush.h:1, > from drivers/media/platform/omap3isp/isp.c:42: > ./include/asm-generic/cacheflush.h:16:42: warning: 'struct mm_struct' > declared inside parameter list will not be visible outside of this > definition or declaration > > As Geert and Laurent point out, this driver does not need this header in > the two files that include it. Remove it so there are no warnings. > > Fixes: e0cf615d725c ("asm-generic: don't include in cacheflush.h") > Suggested-by: Geert Uytterhoeven > Suggested-by: Laurent Pinchart > Signed-off-by: Nathan Chancellor Reviewed-by: Laurent Pinchart > --- > drivers/media/platform/omap3isp/isp.c | 2 -- > drivers/media/platform/omap3isp/ispvideo.c | 1 - > 2 files changed, 3 deletions(-) > > diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c > index a4ee6b86663e..b91e472ee764 100644 > --- a/drivers/media/platform/omap3isp/isp.c > +++ b/drivers/media/platform/omap3isp/isp.c > @@ -39,8 +39,6 @@ > * Troy Laramy > */ > > -#include > - > #include > #include > #include > diff --git a/drivers/media/platform/omap3isp/ispvideo.c b/drivers/media/platform/omap3isp/ispvideo.c > index 10c214bd0903..1ac9aef70dff 100644 > --- a/drivers/media/platform/omap3isp/ispvideo.c > +++ b/drivers/media/platform/omap3isp/ispvideo.c > @@ -18,7 +18,6 @@ > #include > #include > #include > -#include > > #include > #include > > base-commit: 27f11fea33608cbd321a97cbecfa2ef97dcc1821 -- Regards, Laurent Pinchart