Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1949222rwd; Thu, 15 Jun 2023 19:02:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ41Tu5g5w4bel7vZ2ehFssC4AuEuhlLX45TuSPy5kZL004vTauV/qBiKpivE50wYWyrwMuM X-Received: by 2002:a17:903:41c1:b0:1a9:8ba4:d0d3 with SMTP id u1-20020a17090341c100b001a98ba4d0d3mr831107ple.8.1686880932096; Thu, 15 Jun 2023 19:02:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686880932; cv=none; d=google.com; s=arc-20160816; b=amtdQNu3ih5T3kEmR/L0lLnciid0rFmVkV1bMJlT7huDo1Mz+TMVrOduSquD0JK157 qQPwN4JOH549PeSHSub7suAIlYFlrGWyVy/mxzYs8ntuU8i4j9rl2H1Mr3UwWVKELJvC U/MpotiORX2Eq/nnaclCDrliH5SH2wHv8qlZ+qWhxJcxTsT7h34QO+Vybx4d1LWuBTtN YYMsQwjCHu8t2wdEW4qEsnirPvsfj2xZ4LQ4XXmmI7EkqowFmZX1Hso2CImQbXYMm1Kt 2zZzyms9Pak/AjYl1s3y6k4p4+yQ/kRQlpZer6tzIcqqyRI+RWXjaKcFFr8MjOH3OwiY 451A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=xItVpDnCyDNjrQi3ulYcAlGPA0cKGp82U+NLOnn4ub8=; b=kKTe7GA8ewRGD07lCpsf6TOD0kjipg9itHycKoqbzEpLEoiD9vVBMx0Rc7uD+2QXMy qQb4PZ8s2nGplTd6UkV/l8pCRngOA9WrczDrh2x0xYI/A5XZys1ATxAZTJ6eupMuiSlt A/+xz0E7NgOa9AxfNDQj39ox33sPCYN9PNvE+h/iSVSZLKZZzLI0DO/W5zRhouO2v6Uy 7n5EBMXwbiCkIX8PFVluI6UtIUCKYlMVQVteFI3FvTwX0Up2a3qVUjUBJqukkwJf4m6D odE1dRjiuAb2nl5dH7gFcPs5h4xl3hwzdL79+pl8LTYGoX8lmVhVFLbiLKYbcZ7hknV4 Q78Q== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o12-20020a170902d4cc00b001a6ee332903si7267817plg.347.2023.06.15.19.01.20; Thu, 15 Jun 2023 19:02:12 -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 S235690AbjFPBvi (ORCPT + 99 others); Thu, 15 Jun 2023 21:51:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbjFPBvi (ORCPT ); Thu, 15 Jun 2023 21:51:38 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8DEC010F7; Thu, 15 Jun 2023 18:51:36 -0700 (PDT) Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8CxvOomwItk48kFAA--.12315S3; Fri, 16 Jun 2023 09:51:34 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8AxPMolwItke7wcAA--.6951S2; Fri, 16 Jun 2023 09:51:34 +0800 (CST) From: Tiezhu Yang To: Luis Chamberlain Cc: linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Subject: [PATCH 0/2] module: Do some small changes Date: Fri, 16 Jun 2023 09:51:31 +0800 Message-Id: <1686880293-29594-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: AQAAf8AxPMolwItke7wcAA--.6951S2 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29K BjDU0xBIdaVrnRJUUUkjb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26c xKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vE j48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7CjxV AFwI0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIEc7CjxVAF wI0_Gr0_Gr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2x26I8E6xACxx 1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv 67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2 Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s02 6x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r126r1DMIIYrxkI7VAKI48JMIIF0x vE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE 42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6x kF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07j0FALUUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 The first patch is suggested by Xi Zhang offline, the second patch is inspired by the first patch, no functional changes. Tiezhu Yang (2): module: Make is_mapping_symbol() return bool module: Make is_valid_name() return bool include/linux/module_symbol.h | 2 +- scripts/mod/modpost.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.1.0