Message ID | 20191025100749.16165-6-takahiro.akashi@linaro.org |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="OsOuEx+p"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 4700Lc62r4z9s7T for <incoming@patchwork.ozlabs.org>; Fri, 25 Oct 2019 21:13:28 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 77422C21E4E; Fri, 25 Oct 2019 10:12:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 426D9C21EE3; Fri, 25 Oct 2019 10:08:28 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B290FC21EE5; Fri, 25 Oct 2019 10:08:09 +0000 (UTC) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by lists.denx.de (Postfix) with ESMTPS id 2957EC21ECE for <u-boot@lists.denx.de>; Fri, 25 Oct 2019 10:08:09 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id q7so1257061pfh.8 for <u-boot@lists.denx.de>; Fri, 25 Oct 2019 03:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DJyOCWkogFNQQ/StDxnP4iiJUpaJPt1TkX6WgrpR5vI=; b=OsOuEx+pp7Lq/jiHGtX4ZHSDznQjdNxsyZ274EuXRRovVYgkrb13+E2IicjDzcq5BC OZ1w5LoL6sYeJJt+L0jmW5QDIdoVNIxM3PHGAHsEtSoMpJX899iaik8c/EjmNZ+Pu33t QgdHZoqM0CL1msLrxEy4YwTwaTZEBDbuglonBaWAG4SACmSPfujK9EgJ6MF5KgFCLIxv LUD9By+RWZrZr8jtCxi5ehloKU6muvKTQJYVhoFtIvP7oqQAk9dm+sZ8Y9e3drlQmDk6 x9+/Mj+JPKvsBhdkov7wir6YC3GCXeaAgBAtzrt85nhav4nBbB+fMF8OzDpi2TbxAm2k WYNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DJyOCWkogFNQQ/StDxnP4iiJUpaJPt1TkX6WgrpR5vI=; b=G+kdt+KyMleMY1f19pjhmVv2l0dc2tvDy3AlRnUd/i+TvxqkLqTqWQPCzRJ+yINVvj VLYXjWKCfJuVKluCt0aawvCMKnK9cpGwJ3wCY9mG2prZP+TM1gC849YHub9pK4gYt+Vb Pl3XL1Nmmdj4mk2gw47zAzWOUNbYIuBk6LttImoSyI0aOWR4rkl6YuiQ6DKQmcPNKe5l NmKq1u1uZevtbnpTfNaS6+OYkILWsDSCEoXO+vNEpNrkjY0fKIU58acnb7rsLXDbjse+ 1apYpJ5h6HbH0qkxIK201D/nfvnO+VF53h44sf9ZZn3xn5cTNycOrFjs/y3BYA//zFOK qohA== X-Gm-Message-State: APjAAAVIUzp0kJBAg/VDRZw78PF+HBVfzwcWzh6OjobnWvgmKxtXTgHo vAh3Bi5cRjxf5dKrU52UZUY5JA== X-Google-Smtp-Source: APXvYqy5nU/qKNIHZiWLQ9Iv9kZ7mfLc/Y/ssnlByNAk4dVjYUPZCsZYo+sVRku2MEQbcAxK3gMQ+g== X-Received: by 2002:a17:90a:b78d:: with SMTP id m13mr3182012pjr.70.1571998087819; Fri, 25 Oct 2019 03:08:07 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id x12sm1892105pfm.130.2019.10.25.03.08.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Oct 2019 03:08:07 -0700 (PDT) From: AKASHI Takahiro <takahiro.akashi@linaro.org> To: trini@konsulko.com, xypron.glpk@gmx.de, agraf@csgraf.de Date: Fri, 25 Oct 2019 19:07:37 +0900 Message-Id: <20191025100749.16165-6-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191025100749.16165-1-takahiro.akashi@linaro.org> References: <20191025100749.16165-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH v2 05/17] include: kernel.h: include printk.h X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
import x509/pkcs7 parsers from linux
|
expand
|
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index a85c15d8dc28..18846bef3997 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -1,8 +1,8 @@ #ifndef _LINUX_KERNEL_H #define _LINUX_KERNEL_H - #include <linux/types.h> +#include <linux/printk.h> /* for printf/pr_* utilities */ #define USHRT_MAX ((u16)(~0U)) #define SHRT_MAX ((s16)(USHRT_MAX>>1))
Adding "printk.h" will help improve portability from linux kernel code (in my case, lib/asn1_decoder.c and others) where printf and pr_* variant functions are used. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> --- include/linux/kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)