Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3350088ybt; Mon, 22 Jun 2020 23:24:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfXq4fD+e7Ia45kaX8XCTZJSQapa582elu75t2RByHQSvPF2tu7QF/uaLVNymMpgp68hJR X-Received: by 2002:a17:906:93f7:: with SMTP id yl23mr18766173ejb.366.1592893480299; Mon, 22 Jun 2020 23:24:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592893480; cv=none; d=google.com; s=arc-20160816; b=GhjmeRtFxMhe7Ohie5fuvaIBWz4N/ZHt2UKTtbtwy8qVQv/Ag82ZxDjJ2bNvXz5OtA Jhl4U0Y03LtWcW45928c0NIKL0tOaIdoHoW7TBpyPihE1sHKMKyb2RgSc9Rsbir0j6QG Hiq7CuEhY6Xlxczan78nTyoEfVk/LXw6bFJTKBYNBnzsM3oUgAuFh7LQpO/eCTXfx6RX YAijo/l48X2XTT5ytTkRQlo3a5bVtQxpudwroihMI7LJGoo+PCK1IUYGuQPAu9sfGx/L CZP1r54lzZZplGQ86PBTR9JK/dVzJIFxORHasvVjYjIdzQTW2ICZ1rc6B+0XZQvz2hOM 9gww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=kHOubBJtFR3EKz6ashcAsx2TFJnojl6YWO5gbU/giAk=; b=bcK0wWeEo60AaHfQI3iD20poVIbvV/egKWOCDjYcXoET/2xWvJMZgUce1mJnKw4fOI Mz7pMrWc6qOjtVIWjppF/9hizr9610hvfZluP5yz61p5Yd6vxC3vPr9Fux1X2YyCJ/fJ UwCs7oeEHzeEzoXJiZ65SRF0hLvd7kftXE/zGIyVmCx073s7z5ffnoKGMhLoP2DTJXw3 EgwgYCTeyl1nsBN4Gc7cEfmMnJSMlGG6Sa89YCGcRVJXHf1JlTPfOmwqehXb1YvU8+Pm AmnE8AbcNhl1sVN/KIdS1JRjLxlilJHNTEPrV12namvgUtGvxU5XbNCoH1f/VnGR2uKo kt5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xiCNweWM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qh9si335045ejb.173.2020.06.22.23.24.18; Mon, 22 Jun 2020 23:24:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xiCNweWM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730842AbgFWGUc (ORCPT + 99 others); Tue, 23 Jun 2020 02:20:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:40346 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730510AbgFWGUc (ORCPT ); Tue, 23 Jun 2020 02:20:32 -0400 Received: from coco.lan (unknown [95.90.213.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6FBF820720; Tue, 23 Jun 2020 06:20:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592893231; bh=Dxxtu9JejAl8IVsxWoK8TC+TGSvvbQrjHiwpR/3/1ng=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=xiCNweWMDBrmlOdtr3Nz9fvmudwtUf8FgnWO/KvRuTdTH19r5jFz+kQpF36lfcser cGjqt1Bp/vRd6H0Z5ucCAY9GXYq40M/kagvXhXqUlCzblYYr6a1H17k0eL2yKBCTYj AT5TBqE+0uRB6svC2t1jX72L8GY5w7UANmpx/olQ= Date: Tue, 23 Jun 2020 08:20:26 +0200 From: Mauro Carvalho Chehab To: Nathan Chancellor Cc: Andrew Morton , Laurent Pinchart , 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 Subject: Re: [PATCH 1/2] media: omap3isp: Remove cacheflush.h Message-ID: <20200623082026.055d361a@coco.lan> In-Reply-To: <20200622234740.72825-2-natechancellor@gmail.com> References: <20200622234740.72825-1-natechancellor@gmail.com> <20200622234740.72825-2-natechancellor@gmail.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, 22 Jun 2020 16:47:39 -0700 Nathan Chancellor escreveu: > 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: Mauro Carvalho Chehab > --- > 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 Thanks, Mauro