Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3206428ybt; Mon, 22 Jun 2020 18:23:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuOUbaS8muijss8T85WKFuKlZxvSaE9tSRwtOMvIJKKhPm6hyKb/JKlSgYa4MTeDUwjvPT X-Received: by 2002:a17:906:88d:: with SMTP id n13mr4899572eje.349.1592875393712; Mon, 22 Jun 2020 18:23:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592875393; cv=none; d=google.com; s=arc-20160816; b=IcZNyb/F2Q404d4+3QVinecKVLMMDhqTrkU78ngQqLf7SJKtUCig6NCK5UB+FJGEcZ afb3Rgf/KI6lP7BSA+pdlnrBHnXhp0I8KE7Gt8sLE1byceRMJoQOKoaAdW4jmIS+ahK3 e1IgmzoWZb+uWNdObGSUMU+8P3wbo7s5u1ZGD+Y5QzuDtLM5qaY4exrmSiJukbRO0MyY 4K5FL4EWquvKTw5pB0hN0g0LkZ6Ky04SahZ0MXm+DXJ1e8xR7DwRATCFqt8aETdXLDVK NfAe27C714xDes8AV8yzN5A07iqopLWKsNS+soRSSYZdFTA7kE9I+7gFyChhAV1UA+OP hRIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=bDN0kAZllps8lG4liMWF1V1cvHNef7jHr69VeF3/BhA=; b=nKLnO0WXf2xiu8Nw41bGvp4CKfdvopnlqn70WOwV6kHHYWbdB7DYIePkwuVaKCHoqL fyVPHcDJTQJDx7/nGXdmlwpy+T2JIf47sp+0T7N0UKk3F6AIZaC4tnLb4GKbJxJOT3+b SEH717Wx/NF+fyTYeVZsnTWdb5YhqsfWs6SctqgE4wqRSR0IodHrnQNyyft24JWSWNML SF3vHoWkbfLHmtbZnooRPE5MsmhzqxKhKC0T6zRJqhR1SRxLt42n7IeAgpZmTl8HoCFt h7LiZKlNq1Fj+t+7dKyR1vNUsZwjUXrr4ILNsAJqTldvX2hnORwYG2J1dT18YIrcQ1Jd J5hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=AnagMKzr; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gj16si10750073ejb.373.2020.06.22.18.22.50; Mon, 22 Jun 2020 18:23:13 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=AnagMKzr; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731853AbgFWBTn (ORCPT + 99 others); Mon, 22 Jun 2020 21:19:43 -0400 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 Received: from pendragon.ideasonboard.com (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 1C361327; Tue, 23 Jun 2020 03:19:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1592875180; bh=A1BPBP7IBhvl06oo1JVRf8zGahYeO6mzOQ68hxqYL4U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AnagMKzrYkDtq6thkbxOVWtLV7eZh5FUbo8aY4leF4Z9ZmKdur1cCWCcBeubE591X x+VYQwOnk9B04PTlgxtbrU3NbAQntb7L/LGNbhr23EP5y7Mt0L70qxrqKAGpfdBKNC lAwhsag/fbjrQnRaPcty8A/vV7/y5mhrFHCrtxu8= Date: Tue, 23 Jun 2020 04:19:15 +0300 From: Laurent Pinchart 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 Subject: Re: [PATCH 1/2] media: omap3isp: Remove cacheflush.h 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 Content-Disposition: inline In-Reply-To: <20200622234740.72825-2-natechancellor@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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