Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6265198imm; Mon, 23 Jul 2018 14:41:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdG+sQCnUIyYmSRy6LBBgZvRhZ6CICzGLBgId1D6vZ3NWipTiO+cSOHcg3cTw9p1S0Xo6Ty X-Received: by 2002:a63:4506:: with SMTP id s6-v6mr14139272pga.422.1532382078635; Mon, 23 Jul 2018 14:41:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532382078; cv=none; d=google.com; s=arc-20160816; b=DarXMVFwzsq8Ib/Wd4zMuCy4W+dgLs07FxuNV9tt81piLcJ67hH4Mn+JaXiAwrcnAZ H0Q0Ajb7jv4m0qhYGmJeLPISr39W4Ybxhij6Bm4SzWX6eXCtQ5xx2Mz3OMp4LjvW29kw FhI/6fVAFTk/qjNPXNA+K+havv0l0AazxfNSNJQ49r4g6zzyy8rkQ/WCZpRwtTz4Ntzp 75DeIJeVp80/avmuYZ3VtIVLRWqE7wrId/Wlr2nV6hOfw7rRnj7reIQdmLZ0GSwmSy9b rq0dvXEhJ+VXNGJnU0Lb1LmeqEk2i/AeDlrhdzGLLGDBxL/DdBVsCVgoqztRcA5DFm45 J3wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=RG9go1qbzNWlPgt1ByJ1dgOs9189IFz+a0PH4YawvEw=; b=jYr/7BhCHCZ3kvO5t9zR5fIVTx4gL25hVaLaIv1E8KOGzr25LISILhR+u7kQ4XNbEo TMoiAxBJJ3vjM7g2Xe/rVnsoa4d89SOWGNCcCnYXpM4CfN2YbCpkcLmIym1VkFm1oSru 3o7NwolAtXXqON0LjRjn+8Hn1R3eJnUqmd9poN4LnaU2gu9UlH5AQ4/bkC/gM0Y3qbSF tRBw94Exq1xwf2tyG2Rhf1qB0Z1aFnLZ74F/cTUh//ELK4b1d9XhYnBV+FGAv1QKFXUO +LYu8OeF8HSgkUQOl26XFffqdUq5rE4kEkyL+cVd++v+COM2gVZkfSmrLwatW8Thok6s jHZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=RWb3UJkY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p65-v6si9873406pga.401.2018.07.23.14.41.04; Mon, 23 Jul 2018 14:41:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=RWb3UJkY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388233AbeGWWmq (ORCPT + 99 others); Mon, 23 Jul 2018 18:42:46 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:42093 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388135AbeGWWmq (ORCPT ); Mon, 23 Jul 2018 18:42:46 -0400 Received: by mail-pl0-f65.google.com with SMTP id z7-v6so764830plo.9; Mon, 23 Jul 2018 14:39:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=RG9go1qbzNWlPgt1ByJ1dgOs9189IFz+a0PH4YawvEw=; b=RWb3UJkYIuaK6TMXaEmipGRlfMroaYv6fFa/J3F3v+UT7oPu2DpdzoUUl4Ja3s99Ep wFGaH9WDQHqRJBtuWtWjv9Vn/yVQjkP6HesdlnQkIFvnlQ6HFkjO+mtA7D2bzhI2J0+v eHNytdgH/sVO2hhonSzjfFoVjNQlKyHwWTfhIC+ol8auduIpkuG5qEylrvTmAt1DSC+z FRf7BejaA6CLm4G4ciZAHZ7zNxBNdYEpWGQjLbH1cG1xcnTqMW/HTc6opuvoiXc8bjtM QqdX5AUVg0y4o9D4w8vzsxcXZ0z4Ij8NgQhRr7BbzzIXh9J2XXEAPRQqfvrk4WOC4D5Z 7UIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=RG9go1qbzNWlPgt1ByJ1dgOs9189IFz+a0PH4YawvEw=; b=tLfCu56oDguac1/du97EMqNbgDqxeAVoM1bLj9KMW8k5yciqPDB7kopeF3nbsxPzKl 5Rldm376AUDLdoUoKPVPOBsFmsPOjprFIx4Vv/mxF5NtGYywYorZ6vgh29A95hXKvLWD h5Jwe2fus5cauPD6K9/gkzilZ5LSUJeq5rL4T0e0vYrpr4T72JrLiq45JUGVGnu4pDjW xNB3yRJW/Dbn8yhpUQ9zMX2Vf/xGtYRzgUZDogv2XIuanngozngLn82pbncgaLdLYibL 1cs001RJdDT00iqLUszkBvvaKWUfiUFl+zztjylHnjHXN1aq4bEATyNVfrefe3gJFbsI nP1A== X-Gm-Message-State: AOUpUlHRnPgB2Yheuh4gYH/fRuW0C1dTluhPrd2DTuaLSWeMXZyKB5nr kM23ik+9D4PDa0nXEQzHo60= X-Received: by 2002:a17:902:4101:: with SMTP id e1-v6mr14442177pld.205.1532381976727; Mon, 23 Jul 2018 14:39:36 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id p64-v6sm15926952pfa.47.2018.07.23.14.39.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Jul 2018 14:39:36 -0700 (PDT) From: Guenter Roeck To: Laurent Pinchart Cc: Mauro Carvalho Chehab , Greg Kroah-Hartman , linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Linus Torvalds , Guenter Roeck , David Miller , Randy Dunlap Subject: [PATCH] media: staging: omap4iss: Include asm/cacheflush.h after generic includes Date: Mon, 23 Jul 2018 14:39:33 -0700 Message-Id: <1532381973-11856-1-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Including asm/cacheflush.h first results in the following build error when trying to build sparc32:allmodconfig. In file included from arch/sparc/include/asm/page.h:10:0, from arch/sparc/include/asm/string_32.h:13, from arch/sparc/include/asm/string.h:7, from include/linux/string.h:20, from include/linux/bitmap.h:9, from include/linux/cpumask.h:12, from arch/sparc/include/asm/smp_32.h:15, from arch/sparc/include/asm/smp.h:7, from arch/sparc/include/asm/switch_to_32.h:5, from arch/sparc/include/asm/switch_to.h:7, from arch/sparc/include/asm/ptrace.h:120, from arch/sparc/include/asm/thread_info_32.h:19, from arch/sparc/include/asm/thread_info.h:7, from include/linux/thread_info.h:38, from arch/sparc/include/asm/current.h:15, from include/linux/mutex.h:14, from include/linux/notifier.h:14, from include/linux/clk.h:17, from drivers/staging/media/omap4iss/iss_video.c:15: include/linux/highmem.h: In function 'clear_user_highpage': include/linux/highmem.h:137:31: error: passing argument 1 of 'sparc_flush_page_to_ram' from incompatible pointer type Include generic includes files first to fix the problem. Fixes: fc96d58c10162 ("[media] v4l: omap4iss: Add support for OMAP4 camera interface - Video devices") Suggested-by: Linus Torvalds Cc: David Miller Cc: Randy Dunlap Signed-off-by: Guenter Roeck --- drivers/staging/media/omap4iss/iss_video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/media/omap4iss/iss_video.c b/drivers/staging/media/omap4iss/iss_video.c index a3a83424a926..16478fe9e3f8 100644 --- a/drivers/staging/media/omap4iss/iss_video.c +++ b/drivers/staging/media/omap4iss/iss_video.c @@ -11,7 +11,6 @@ * (at your option) any later version. */ -#include #include #include #include @@ -24,6 +23,8 @@ #include #include +#include + #include "iss_video.h" #include "iss.h" -- 2.7.4