From patchwork Thu Aug 17 14:44:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 135966 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b82d:0:b0:3f2:4152:657d with SMTP id z13csp1054352vqi; Thu, 17 Aug 2023 17:00:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE4lDLSY/LKQGeYJE1YXnfxkbsPJlRpb1K0i7DxIfKfG8utFY1ZBoQyGTDzW3EmfkH7pVxi X-Received: by 2002:a05:6808:9b8:b0:3a7:b011:8960 with SMTP id e24-20020a05680809b800b003a7b0118960mr1113032oig.40.1692316833119; Thu, 17 Aug 2023 17:00:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692316833; cv=none; d=google.com; s=arc-20160816; b=wgE8uJgWEzminxWdg+vkLY4QCpuITJuhOw9a8PrROfVQBJq+ObqbMOkkjGqm1kDdsI tKcuqtEuyVQUpXpAz9wz/WwybqBDWHXFCvThxrw9ffNc4xD0VoWD38/D5RguFiM4UmHM 5TIUhu3mqkhBOwXZNSYPNidNaM2Bb8U7QdNgTWdwszFdYYeaz1rZ/45oj6LbEuD66fMU sOr41eHY7hdSRMgJZRjUbkO9SbGdAGu/R0JHb7k9u++OQoImv+EChcZ/MvBhSkrnYRhV cY+Tu/A+GZAgBu5/2gQgRvJ0hpbMLMSM0aSvf5bwOAvksmFeGr4sZbeXiFKpxF2EQGQ+ mkcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=UefnlxGvf73AnxTra5B3na92akDKT003jNhTDd7FSEk=; fh=XoO3hytbiPkfujDC6fHw6R1/7GfTgI0E/4Cn/U2A2Do=; b=IQyzmUSzfD9ycxBo7pxA0TGp4w98t6McjF9vLdS/KbQ/SxbzhsSCNMobjV0c3fVTfk H3ZbeuqkA+1/vlNx/89+8a5CgbCr4nK1JBdIajcr/n46Jr58nHzuAGcdLQ2mCyFwvt5b 02rnKJwK1sxNNuuF9DScYVrsFyF16wnQSW8b3qvK3w62jxoB7ZeUmg0zLbLOT32zcCAh 8GUPqAYfV2fXLMQ2gsF1IVn5Fg3eBpoAvYSoTIVHXtICdEttd2aobtlzcpvayHSenKch bsWQlthBiEtLtwzL/mvtkYG9cyC+IX/x4hzhRRre9cOWaSFJFQb87bOwUiD/LBwgCNM4 do5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n4-20020a632704000000b00563f4e46f7esi382615pgn.287.2023.08.17.17.00.19; Thu, 17 Aug 2023 17:00:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352166AbjHQOpI (ORCPT + 99 others); Thu, 17 Aug 2023 10:45:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352226AbjHQOpE (ORCPT ); Thu, 17 Aug 2023 10:45:04 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F97E94 for ; Thu, 17 Aug 2023 07:45:01 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:d85a:258d:2c59:b44]) by albert.telenet-ops.be with bizsmtp id aeky2A00f4QHFyo06eky8G; Thu, 17 Aug 2023 16:44:59 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qWeF1-000u8f-69; Thu, 17 Aug 2023 16:44:58 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qWeF8-007SBP-Mu; Thu, 17 Aug 2023 16:44:58 +0200 From: Geert Uytterhoeven To: linux-m68k@lists.linux-m68k.org Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/6] m68k: math-emu: Sanitize include guards Date: Thu, 17 Aug 2023 16:44:49 +0200 Message-Id: <8c84c8bf06c0c1e463c47f071891e2e83d5abdd2.1692283195.git.geert@linux-m68k.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774522815380060497 X-GMAIL-MSGID: 1774522815380060497 Some include guards start with an underscore, others don't. Some comments do not match the actual include guard. Make them uniform, adhering to the "FP__H" format. Signed-off-by: Geert Uytterhoeven --- arch/m68k/math-emu/fp_arith.h | 6 +++--- arch/m68k/math-emu/fp_trig.h | 6 +++--- arch/m68k/math-emu/multi_arith.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/m68k/math-emu/fp_arith.h b/arch/m68k/math-emu/fp_arith.h index 0fd3ed217f668652..85bdd83b9dd667a8 100644 --- a/arch/m68k/math-emu/fp_arith.h +++ b/arch/m68k/math-emu/fp_arith.h @@ -12,8 +12,8 @@ */ -#ifndef FP_ARITH_H -#define FP_ARITH_H +#ifndef _FP_ARITH_H +#define _FP_ARITH_H /* easy ones */ struct fp_ext * @@ -47,4 +47,4 @@ fp_fintrz(struct fp_ext *dest, struct fp_ext *src); struct fp_ext * fp_fscale(struct fp_ext *dest, struct fp_ext *src); -#endif /* FP_ARITH__H */ +#endif /* _FP_ARITH_H */ diff --git a/arch/m68k/math-emu/fp_trig.h b/arch/m68k/math-emu/fp_trig.h index af8b247e9c982874..52f0cc31cfe49cb7 100644 --- a/arch/m68k/math-emu/fp_trig.h +++ b/arch/m68k/math-emu/fp_trig.h @@ -15,8 +15,8 @@ */ -#ifndef FP_TRIG_H -#define FP_TRIG_H +#ifndef _FP_TRIG_H +#define _FP_TRIG_H #include "fp_emu.h" @@ -29,4 +29,4 @@ they return a status code, which should end up in %d0, if all goes well. */ -#endif /* FP_TRIG__H */ +#endif /* _FP_TRIG_H */ diff --git a/arch/m68k/math-emu/multi_arith.h b/arch/m68k/math-emu/multi_arith.h index 232f58fe3483d2be..ed2434fcfb1ef46e 100644 --- a/arch/m68k/math-emu/multi_arith.h +++ b/arch/m68k/math-emu/multi_arith.h @@ -15,8 +15,8 @@ implement the subset of integer arithmetic that we need in order to multiply, divide, and normalize 128-bit unsigned mantissae. */ -#ifndef MULTI_ARITH_H -#define MULTI_ARITH_H +#ifndef _MULTI_ARITH_H +#define _MULTI_ARITH_H static inline void fp_denormalize(struct fp_ext *reg, unsigned int cnt) { @@ -285,4 +285,4 @@ static inline void fp_putmant128(struct fp_ext *dest, union fp_mant128 *src, } } -#endif /* MULTI_ARITH_H */ +#endif /* _MULTI_ARITH_H */