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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AC92AC433F5 for ; Wed, 16 Mar 2022 19:25:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A04E783F49; Wed, 16 Mar 2022 20:25:37 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="krE/7H1g"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F19A083C67; Wed, 16 Mar 2022 20:24:06 +0100 (CET) Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BE44183AEA for ; Wed, 16 Mar 2022 20:23:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-vs1-xe2f.google.com with SMTP id m187so3250289vsc.12 for ; Wed, 16 Mar 2022 12:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=trkfuvv7rrOx2ayTh/+ltgEGioER9AFzzN0MSC5z9gk=; b=krE/7H1gvb3HTJGDIrcUDjV/ZTFHYk/Pvd9uZn0fellgIfYhjt2GVF+guyU8FDIZHN KzIl3c4VoNG2vcxAw3RELbVXEBCO1pvZdfAoBd5c4rLS44N8KaJlujFrwwHUwZKyJ6IU Tq11ABbcgidpijPDaMRKhf4QrwhciIeyoGfpc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=trkfuvv7rrOx2ayTh/+ltgEGioER9AFzzN0MSC5z9gk=; b=3n/Rb2fIR1my+zsJRoRLRBG1ctXx8lJQQRn4Rv4qXgkoPNaQaLZpHLdri16uehDilr +IT9vQULdq+M08sHLo27vCk2tWmAHjR0DsTawuEAOJgM5+MmEXMYpVa1IIXC+ET5wDjR FHtt5s6RPYgXI6eOyiQ3hkCa1REZcUxLjIr+0T3rwnSY34tU6KerEscMtTHF56KnyumY rR9mz2NtTTWNb+5n7+sljH3O7r7T7wd+90zMQpG0SpYJ2HN/baASYp6p1w/PewwbM/Et JarCowMlcZVScesEprPUPCSjbS5ePHwpOSiwAMmZ03Ab2pLD0aNw8L1x/95EJxUNaQZ3 RXHQ== X-Gm-Message-State: AOAM532Zu70WI6+h9VI2dddrPg8GM/8VCP6T0QEDBQ9VULII+Ju5A3of rxRkFmh3jVwlmaTq3vJpGcygOY2UC48pyKt+mZYCyg== X-Google-Smtp-Source: ABdhPJy2i9a1YjjOZPFlH0qbPjGkqn8Q9Y9YBPYgS1nopMHwJbPk/WVf/FuVHDneonPsKEmwhxTOi0iMuC5TlvPm/Ak= X-Received: by 2002:a67:fd09:0:b0:322:85fa:6c05 with SMTP id f9-20020a67fd09000000b0032285fa6c05mr536010vsr.71.1647458636174; Wed, 16 Mar 2022 12:23:56 -0700 (PDT) MIME-Version: 1.0 References: <20220316153948.197650-1-ptosi@google.com> <20220316153948.197650-6-ptosi@google.com> In-Reply-To: <20220316153948.197650-6-ptosi@google.com> From: Simon Glass Date: Wed, 16 Mar 2022 13:23:41 -0600 Message-ID: Subject: Re: [PATCH 6/9] include: Carve out of compat.h To: =?UTF-8?Q?Pierre=2DCl=C3=A9ment_Tosi?= Cc: U-Boot Mailing List , Tom Rini Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On Wed, 16 Mar 2022 at 09:41, Pierre-Cl=C3=A9ment Tosi w= rote: > > As Linux source code might include that header directly and as it is a > simple "leaf header" (probably won't include other headers) that is > unlikely to be relevant to U-Boot, replicate the upstream header > definitions in a dedicated and include it in the > pre-existing compat.h for existing users. > > Signed-off-by: Pierre-Cl=C3=A9ment Tosi > Cc: Simon Glass > Cc: Tom Rini > --- > include/linux/compat.h | 4 +--- > include/linux/export.h | 25 +++++++++++++++++++++++++ > 2 files changed, 26 insertions(+), 3 deletions(-) > create mode 100644 include/linux/export.h Reviewed-by: Simon Glass