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 30231C32771 for ; Mon, 26 Sep 2022 22:23:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BBF8B84E1E; Tue, 27 Sep 2022 00:23:38 +0200 (CEST) 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="eiw6A61l"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 814BD84DED; Tue, 27 Sep 2022 00:23:36 +0200 (CEST) Received: from mail-pj1-x1049.google.com (mail-pj1-x1049.google.com [IPv6:2607:f8b0:4864:20::1049]) (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 AE5BD84DED for ; Tue, 27 Sep 2022 00:23:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=3YCYyYwYKBpUz23AKz5DD5A3.1DBJ-0DDIA7HIH.23CM.23@flex--adelva.bounces.google.com Received: by mail-pj1-x1049.google.com with SMTP id a6-20020a17090abe0600b00200303ba903so8405063pjs.2 for ; Mon, 26 Sep 2022 15:23:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date; bh=b7+0a8NhJESvzf6q00P1b3oP2KhQF9E52a4TQ3tvbz4=; b=eiw6A61llig/hKwpmlNdC+0AKzvKGurixsyz3bLAbL8HBgIyubMEU+29oaI+UUaDKr RbvVJEGFiDZzNC25oMwMBAa1QtaVHujXWBl6G/n989rA4RHwLrR+7mwVla+3eMQ1ZqDS k0nEGrG+0hPhRc1rhb/qrqsLzzEo2D4VhlOhCTwr4Q2F9RryripdWwFBe2YYb8US7Mgb wDdQvKrPeta4zNq0qxj/wSd+JSmoXG/z0a2TSML9KElFooL/uN9w7/WN0LxiEKSjoK8u YhKPMXo/KNqU4A8ZUijKKT4yFEO+nxuCY74JlmEg5M37oWdasDPB4ZnUPfb1S0EP2jo/ 0+PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date; bh=b7+0a8NhJESvzf6q00P1b3oP2KhQF9E52a4TQ3tvbz4=; b=Jql0FNNOYtDUAxAzPkpPlASoIICpbPGJ5OwZNTZvKibrzML4k4AzzcnlmOiN345BFX 8jHKF3Nyf/6t9LlSSCzijSZA7RgLclC4YFKoEdjM2Osbtyc8SeoFsR/gP11oo3LGnnWc ZEqEcZ5l4Z+4UybIyVGPNbuZxqbg/9D94sphT4Pb/W2xlGl7dUN/3W107VVEi9tmVu6L KV5m5FiNM3/VkJN1t3OYFDSiX7BBqYVrHufUzCL/jf7hvYdloY9W8oagS9oyRWLdq0Xq Vy84/K2RoyBNTFZcrNVAwDiuYJiRatNBIj1FIcxHbSQ9X1uMj/FXjRVVW6AQ4Ap5TzbT ajng== X-Gm-Message-State: ACrzQf0HlaEn0g83vNzRfMLgv3VYh3IDQpjkTVfblkuwzB6HHLKfmX1I 9dUlNwM+ZW+90tIAhJ28Jd1sTNVrA+KGAqSHFrH3/29JLVnbVtK6hWVPbfc5Bqkyne+JYlh/hzq 0QW8Eg0Js4XwN6DaUR7p8+nDrlabB3RGJTUpmKa79tvqySwiBwEm5szFhNpQ= X-Google-Smtp-Source: AMsMyM6IVmWzbj9hZXgDLEnQ9t37pytgFK9ePuEY32jLBZHG9uOZGWRCA3zzf+O9PX3gvoAUNOJeoSLu1N8= X-Received: from adelva.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:47a8]) (user=adelva job=sendgmr) by 2002:aa7:8543:0:b0:54b:6ea4:7a12 with SMTP id y3-20020aa78543000000b0054b6ea47a12mr25577569pfn.33.1664231008606; Mon, 26 Sep 2022 15:23:28 -0700 (PDT) Date: Mon, 26 Sep 2022 22:23:26 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.37.3.998.g577e59143f-goog Message-ID: <20220926222326.874850-1-adelva@google.com> Subject: [PATCH] x86: Fix i8259 ifdef include guard From: Alistair Delva To: u-boot@lists.denx.de Cc: Simon Glass , Bin Meng , Nick Desaulniers Content-Type: text/plain; charset="UTF-8" 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.6 at phobos.denx.de X-Virus-Status: Clean When building U-Boot with clang, it notices that the i8259.h include guard does not work correctly due to a typo. Fix it. Signed-off-by: Alistair Delva Cc: Simon Glass Cc: Bin Meng Cc: Nick Desaulniers --- arch/x86/include/asm/i8259.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/i8259.h b/arch/x86/include/asm/i8259.h index b73052a6d2..90f2d3866c 100644 --- a/arch/x86/include/asm/i8259.h +++ b/arch/x86/include/asm/i8259.h @@ -7,7 +7,7 @@ /* i8259.h i8259 PIC Registers */ #ifndef _ASMI386_I8259_H_ -#define _ASMI386_I8959_H_ +#define _ASMI386_I8259_H_ /* PIC I/O mapped registers */ #define IRR 0x0 /* Interrupt Request Register */ @@ -73,4 +73,4 @@ int i8259_init(void); -#endif /* _ASMI386_I8959_H_ */ +#endif /* _ASMI386_I8259_H_ */ -- 2.30.2