From patchwork Tue Apr 19 01:01:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 563286 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp2858234map; Mon, 18 Apr 2022 18:02:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9fMPmAui42jss8da7GWEaxZMysp5512Kfi7i/aPegW/NT6dGPvxNqL1XQG6HeB0ZEQlr7 X-Received: by 2002:a17:906:58c7:b0:6da:955b:d300 with SMTP id e7-20020a17090658c700b006da955bd300mr11229596ejs.481.1650330161688; Mon, 18 Apr 2022 18:02:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650330161; cv=none; d=google.com; s=arc-20160816; b=MD7RBzqHGVKLTgMXx909CmMJRARyRT1k/GdFLPibf62JbrxJwTQgMs2bqOfaMuMR1T 9pPgOC104Gu1NG4dUypXjq+e5S4g+yhx2M2spmhK4XWD+USGRDbFdBsn2TO1rVCDGxcf ZD6noET7RYSQqPFYh+wO9ZlfGOELdg1RLUNw/rrd0fFiBruHH/6k/Q3tfl5j4ea7R/oz /Jvhp5q97RzSLuTIuriAubCqlLaHisCdtlepUQfyqObaZYtNmIKzIVy0Jb8BMcIQcKWG +5i23SFiIP51xEl1sM0mfsLxo8tzD2BOhnI8fAkHweGl2XuBugEyRRwkcrJZY7LsrZAU 2/bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=APiHcvK8CGTHhk6se+729cCK2Ec01zHKqBuslCn35pQ=; b=eCuz1Eum6x8OJzTa5FQC5DIgy3M0GUYqJymy3F4HTKOumWxYwI78VLWhovsDzxjSHs TP2+DqicBGKmSWxtelubRISd6s0n9Kbc9wRFLNRRtzR2PABuOd3xlIZ5RoLg63wOJxd/ 3/5NNoTHQGM/eufrF6q9hFFu9Is1KGKANCgdz7V47qzGoVIqlrSGXj9zJLwfyQ0+iehJ Vpl2q46tT0e4DkMi8g+veLDLAc9sHrsexCZmXIAtn9oJNxkxhgmiDCcygeMZfT3Ysbpb 9AQZuEfBAiDezySS5ZDx10xHefHI4r2DSFLHHGmaI3enIzXvnTQipcOOC5ulJlhv6nH3 b1TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hd0JgWC2; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id y9-20020a056402358900b00423e4e9acefsi3833199edc.323.2022.04.18.18.02.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 18:02:41 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hd0JgWC2; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 132F983B20; Tue, 19 Apr 2022 03:02:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="hd0JgWC2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4DA9283B19; Tue, 19 Apr 2022 03:02:32 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) (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 7779283AFF for ; Tue, 19 Apr 2022 03:02:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pg1-x52b.google.com with SMTP id j71so8461252pge.11 for ; Mon, 18 Apr 2022 18:02:28 -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=APiHcvK8CGTHhk6se+729cCK2Ec01zHKqBuslCn35pQ=; b=hd0JgWC29u21ttDBSwr0+M6yme288HMNhSeazJnxf+4Ha9qmt/zeljAjP8mgdXICw0 VSnDuYVXk+DqdUtSzRErMIgpwjuGHFiWezpMRGr5vHkDJcggIEnjaaVl+cYFFAELOKi0 Ma7kGVgbARXDLv3vl9gnZ4RdlSB1/Bo2bPZcLBn/eY7Fm1qNwPbN/XLmusW70yn3D1Cc 0wah9eCNbqqyWNxqDRl3kZFNPp4UefUTM9xEfhJkgYwcRxu41xz832bYxnhZF3TNRw4h L8MIl2uxxThfcxjHutjkXfw0sb0goQTNAtrzqqdkYhr6Wfo7NnS8XSY95BYi7w8hnrw1 Dcvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=APiHcvK8CGTHhk6se+729cCK2Ec01zHKqBuslCn35pQ=; b=f9fEXb+pJEelv8IcbqyqTROwCesqmkorSSpaMHnIcIfIDuEvAhIXsr/sOt+BP/PzBb dhr/MpS4WPKkitAvTQZBRAn3v9Fy75Nk23dD88oFcmHUBkF2hr7MQ0SiXXXxPefaJGQF wx+JzCQrNwglp1r0yfvQSQ07rYbXserLY1oVpvQfn/3bhS08EIWi9EeuRR90onVdPNmD xAPichREdI9jgfBfl01KuhhNxMYMECMmSvg1KvhSmvecOieAg/hVjea7HCLpgajSHGMX PCpJm38D2+vsfLw/K6vamKwAqyMlgYw4FMvLHenKKp1FDuWoCT9FeN3apXb0P8mqSrcG I6sw== X-Gm-Message-State: AOAM533TVixJWiLdcBQjohS+uDZznvd6FJi6lLdZEZZ5EfsiYfsrMxCt ilzU1Ni1h0OLFwhTrVAQ8Jb3rw== X-Received: by 2002:a65:5181:0:b0:3aa:3668:26a9 with SMTP id h1-20020a655181000000b003aa366826a9mr817847pgq.184.1650330146731; Mon, 18 Apr 2022 18:02:26 -0700 (PDT) Received: from localhost.localdomain ([2400:4050:c3e1:100:5858:d3a6:5cad:ceeb]) by smtp.gmail.com with ESMTPSA id l2-20020a056a0016c200b004f7e3181a41sm14791729pfc.98.2022.04.18.18.02.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 18:02:26 -0700 (PDT) From: AKASHI Takahiro To: trini@konsulko.com, sjg@chromium.org, xypron.glpk@gmx.de Cc: u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH 1/7] disk: include errno.h explicitly in part.h Date: Tue, 19 Apr 2022 10:01:52 +0900 Message-Id: <20220419010158.47034-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220419010158.47034-1-takahiro.akashi@linaro.org> References: <20220419010158.47034-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 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 Some errno numbers are used in defining inline functions. So "errno.h" should be explicitly included to avoid possible build errors. Signed-off-by: AKASHI Takahiro --- include/part.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/part.h b/include/part.h index 53cfbdd87671..1196220817e4 100644 --- a/include/part.h +++ b/include/part.h @@ -10,6 +10,7 @@ #include #include #include +#include #include struct block_drvr {