Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3421043ybl; Sun, 2 Feb 2020 23:29:37 -0800 (PST) X-Google-Smtp-Source: APXvYqzXSoXWEx2w7wM9+XXlTr3vaU50PdMxV4oD4HZ37PUN2N9+WmDftDLqbIoScqtElxA/bJlF X-Received: by 2002:aca:b7c5:: with SMTP id h188mr13846121oif.100.1580714976769; Sun, 02 Feb 2020 23:29:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580714976; cv=none; d=google.com; s=arc-20160816; b=Nr0x3QTMiXDPwWVgzDpm2DHysIDkL9BsQQtoUVzIB8mfiddVWQi++W6yaYQEckivRU cC0LCSdmW7OtvfUJWLB9ybz79eMR3NXs2sZlhyo/1jnOnH9DqSYEzbZ+b63/Iz3AdNJC z1f3BLC6IuZJiyHMWXS8uM/IG8lK6eY3LPY/xrYmZ0HIOtihuPDt5pFNhtvpUu+iqGBD j0CCZUo9beH27FqgztsDBvrYgv8IQEBM4+qoFFv2jL13V858RWKobJmVP0shwI/2Cbcs 8FkgUnOKJAh7upOg25+DMbhC6CZ4C8yUNfF93SYLcRdCUjqNX0qmzoCOuMUgh9dhm+Fu a6fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=R8kzJf9J/bk6QzTc3zwFEeBvlSpMMeb6GRnS58I25Hc=; b=m6gipmTLSwrFYjpdbj3YT+sf1GANYcVXaz9Smjbtpgv8LonRpeeCaJzYAXNbzxLVkf NvCLHVyb0zmCaAMk0jhB7i2v3VQpiCek+JtZWDdugudEbdqTMUUsBVIjIKLJD4+ODtRQ U+KqEuxR1N4FA6X+yqMjMMFWW1lj7KyiiHWEEwkerBbM+D4VXlR/mWmUUMtAE5cLTGLr CzjCy18/lSkfdDUy3PG0BbITT3jYfGVT5s1X57Gl+mMe4OhV6RcJWfamhZNSnZjHWcNf WdBQUzM81saUuH7N/eut1XBuzZ2XHL7E2BXFQEWny/gDKNFWyoZvv1fXm38MTfqt9G20 nWcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=GQSkoqUT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u13si9259515otg.56.2020.02.02.23.29.23; Sun, 02 Feb 2020 23:29:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=GQSkoqUT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727215AbgBCFUG (ORCPT + 99 others); Mon, 3 Feb 2020 00:20:06 -0500 Received: from conssluserg-05.nifty.com ([210.131.2.90]:46625 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725768AbgBCFUG (ORCPT ); Mon, 3 Feb 2020 00:20:06 -0500 Received: from mail-vs1-f51.google.com (mail-vs1-f51.google.com [209.85.217.51]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 0135JhAi023689; Mon, 3 Feb 2020 14:19:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 0135JhAi023689 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1580707184; bh=R8kzJf9J/bk6QzTc3zwFEeBvlSpMMeb6GRnS58I25Hc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=GQSkoqUT7cplJ/wXPyA1d1u+d8wPOImQFu0SZBMf0OynqlkJLXNsaTinPjzQcHKeD vXTz7NAZVqSPn/cY3elZG5pe26Moi/Qo71+eLGDmSWykFNDWn4j30SocFci0PemWPZ FS0eYKEMomYmsLmDRIPANfcEe4Rpvb1sOfCXWrLqd1U3Qutpuuf0yUYgCRHMH1wsfZ fbqOQ6um91roMnfKiHb6MM4wI8W/izSQBtt5KGZNcsTdIU3Z+M8zMGO6Cb7W154T+X nRAE3Yxerh6Ct6L8ABvwbDS14VYeW16BnxbKL/kHInW5p9w6Y1umex8JZ9ObGulA2f JiYU7mZonNhVQ== X-Nifty-SrcIP: [209.85.217.51] Received: by mail-vs1-f51.google.com with SMTP id g15so8166693vsf.1; Sun, 02 Feb 2020 21:19:44 -0800 (PST) X-Gm-Message-State: APjAAAUTWFS5Y1xQN7PI5SUkshEms2/Cu4jzZDEq7zTrZ6TpQ0DedguV Ky1OgKWlZrw6/LUuVphRAVO03mvG3KDLvQ6saiE= X-Received: by 2002:a67:6485:: with SMTP id y127mr13978433vsb.54.1580707182954; Sun, 02 Feb 2020 21:19:42 -0800 (PST) MIME-Version: 1.0 References: <20200202050922.12402-1-masahiroy@kernel.org> <20200202050922.12402-3-masahiroy@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Mon, 3 Feb 2020 14:19:07 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] kallsyms: fix type of kallsyms_token_table[] To: Justin Capella Cc: Linux Kbuild mailing list , Greg Kroah-Hartman , Marc Zyngier , Masami Hiramatsu , Thomas Gleixner , Will Deacon , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 3, 2020 at 12:26 PM Justin Capella wrote: > > unsigned char maybe? I understand printable chars unlikely to cause > any trouble and probably a non issue, but the domain is different for > char, and while I don't know of supported implementations where sizeof > char isn't a byte, I think it's a possibility and perhaps why u8 was > in use? As I said in the commit description, this only contains ASCII, which is 7-bit code. We do not care the signed-ness of char. kallsyms_names[] has been u8 since the following old commit: commit e10392112d315c45f054c22c862e3a7ae27d17d4 Author: Paulo Marques Date: Mon Oct 18 17:59:03 2004 -0700 [PATCH] kallsyms data size reduction / lookup speedup Probably, this is just coding mistake. -- Best Regards Masahiro Yamada