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 0872DC433EF for ; Wed, 16 Mar 2022 15:41:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7E00F83CCE; Wed, 16 Mar 2022 16:41:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="T3TBhnfo"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C861783BAE; Wed, 16 Mar 2022 16:41:22 +0100 (CET) Received: from mail-wm1-x349.google.com (mail-wm1-x349.google.com [IPv6:2a00:1450:4864:20::349]) (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 5BDBE83CC8 for ; Wed, 16 Mar 2022 16:41:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=3EwUyYgUKBvwtxswmksskpi.gsqy-fssxpmwxw.hir1.hi@flex--ptosi.bounces.google.com Received: by mail-wm1-x349.google.com with SMTP id v184-20020a1cacc1000000b0038a12dbc23bso2920172wme.5 for ; Wed, 16 Mar 2022 08:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc:content-transfer-encoding; bh=4RU89VODWAXCJY2eTo6ZfyhP1N7umGu5hJMUA0ywDu8=; b=T3TBhnfoNy3MKrHhYjwf0LlszPPZQ9Gx4Ub+gNsoi5bOQaDt0vFWdjvsTdvVt1ZJKe 8SggZa/utCxP4IvpJRjvFJugIQRb5F+o/lkGpnewATdXY7UrRd4Xqk5NYcNC0e3XMUS8 2RZe3wQIwbcGbvZ03CXPWPkeEqrestQVkrork+UQMsjOIGpleLh2M1R41C4Q5R7oHaK0 h5pJqNYi59ZHD4C4SmCXM4zyPr/xUNzR2HQQrG18XRiBi3GNG36nJ4aGVCRiRAsiBvlz mEHNG4UoM0Nr29uTms0NqNr3cOpqRBPjlrlliby9uD2lY6juL5gbfN6GNvNMH3SvTjP3 pUUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc:content-transfer-encoding; bh=4RU89VODWAXCJY2eTo6ZfyhP1N7umGu5hJMUA0ywDu8=; b=L0WefWlQz4vt3xaX2wrlNFmw+XB5PUGhtKMudnzsLhuOMKik0wZP+/y7On7h6nXTKN 1g5UqrTfxOW+5qF5Oz2mNpLAMbMtnsSUFRC8IyGuG9UVXRHIpOAtgU4qqvPbvWqRIL+8 qq1cW92yC4gfyBdQ9NNNfgJxHhC1jOLAPzp71SpN8D7Iw0twzOzq58IN+FLsqS2LyIOR b6+ecCVHFUVVP4BZtBYiSnykianrA9SfZA5FhO5BtRzaWlt/t/tIvArta0YuvtKzM0ym wXTszndC5txDydDkB3JVyx22NuniAS8W8rCN7f7u8VxAM+/9cdFuzfqgoICWRTfIGTln REdA== X-Gm-Message-State: AOAM533pVomPRYxFajxoDvUMPagQvL/X66PBJqMCb/pvY1KzHh+r/h+S LzuUM1BjaaXsmcTB9auzQDKcwZR3fl8ojdmBQCOdFg/rYLxxOvhzZ493gvkPp78QyBz/NJVu3GM lFcqqtED2B1viiFGWNaei2Llmpvu6bxYQrpImSaDTqL+e9RblHQSobQvO X-Google-Smtp-Source: ABdhPJzCx1cXgNxXBQ0+tBBlh/BhDJpd4B2Vp3QskFLsjq4FKAVi+9Nuc4nGQTOA2MHMtjLbg6cqOBcNWw== X-Received: from ptosi1.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:afb]) (user=ptosi job=sendgmr) by 2002:a05:600c:4f55:b0:381:7386:ed68 with SMTP id m21-20020a05600c4f5500b003817386ed68mr7810307wmq.36.1647445267185; Wed, 16 Mar 2022 08:41:07 -0700 (PDT) Date: Wed, 16 Mar 2022 15:39:46 +0000 In-Reply-To: <20220316153948.197650-1-ptosi@google.com> Message-Id: <20220316153948.197650-7-ptosi@google.com> Mime-Version: 1.0 References: <20220316153948.197650-1-ptosi@google.com> X-Mailer: git-send-email 2.35.1.723.g4982287a31-goog Subject: [PATCH 7/9] include: Upgrade From: "=?UTF-8?q?Pierre-Cl=C3=A9ment=20Tosi?=" To: u-boot@lists.denx.de Cc: "=?UTF-8?q?Pierre-Cl=C3=A9ment=20Tosi?=" , Simon Glass , 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 Upgrade the header to version 5.16 of the kernel: commit df0cc57e057f18e44dac8e6c18aba47ab53202f9 Signed-off-by: Pierre-Cl=C3=A9ment Tosi Cc: Simon Glass Cc: Tom Rini --- include/linux/typecheck.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/linux/typecheck.h b/include/linux/typecheck.h index eb5b74a575..46b15e2aae 100644 --- a/include/linux/typecheck.h +++ b/include/linux/typecheck.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef TYPECHECK_H_INCLUDED #define TYPECHECK_H_INCLUDED =20 @@ -21,4 +22,13 @@ (void)__tmp; \ }) =20 +/* + * Check at compile time that something is a pointer type. + */ +#define typecheck_pointer(x) \ +({ typeof(x) __dummy; \ + (void)sizeof(*__dummy); \ + 1; \ +}) + #endif /* TYPECHECK_H_INCLUDED */ --=20 2.35.1.723.g4982287a31-goog