From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 065CDC433EF for ; Mon, 28 Mar 2022 16:21:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241951AbiC1QXR (ORCPT ); Mon, 28 Mar 2022 12:23:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238203AbiC1QXP (ORCPT ); Mon, 28 Mar 2022 12:23:15 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA1E82AC68; Mon, 28 Mar 2022 09:21:34 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B65A92F7; Mon, 28 Mar 2022 18:21:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1648484492; bh=sYyVQAYbWlYYf3LCLWan8M4vKcQxgsd1o1Zk+jlvkz4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YoD3+/VZrBPHhQ0Nx7+Kchdpy6OvqhSP/nkKptGX50Cwv7GhnvAOLgw4va1Rkz/ya oYmYZsizym77o9ECljNZBJqlzk29kBEnxAIe1x2Olme3lRwRSPhacOJAtMVOPeQyQZ ud3KSefCIn+wT8WyLZDkM02dx9bpldPiz4sEF1/4= Date: Mon, 28 Mar 2022 19:21:30 +0300 From: Laurent Pinchart To: Masahiro Yamada Cc: Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Sakari Ailus Subject: Re: [PATCH] media: media.h: remove unneeded inclusion Message-ID: References: <20220328160153.169362-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220328160153.169362-1-masahiroy@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yamada-san, Thank you for the patch. On Tue, Mar 29, 2022 at 01:01:53AM +0900, Masahiro Yamada wrote: > Commit b3b7a9f138b7 ("[media] media-device: Use u64 ints for pointers") > added this #include , presumably in order to use uintptr_t. > > Now that it is gone, we can compile this for userspace without . > > Signed-off-by: Masahiro Yamada Reviewed-by: Laurent Pinchart > --- > > include/uapi/linux/media.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h > index 200fa8462b90..5754dce922a7 100644 > --- a/include/uapi/linux/media.h > +++ b/include/uapi/linux/media.h > @@ -20,9 +20,6 @@ > #ifndef __LINUX_MEDIA_H > #define __LINUX_MEDIA_H > > -#ifndef __KERNEL__ > -#include > -#endif > #include > #include > -- Regards, Laurent Pinchart