Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1312767imm; Tue, 22 May 2018 01:56:11 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpsXAmrRqmTke9WOpBxKud5Z7C8VaO5y7JyBlLYc7wLTCUBU9YI1o/RO+ygHARFxe6d4HyY X-Received: by 2002:a63:7d47:: with SMTP id m7-v6mr18393405pgn.443.1526979371237; Tue, 22 May 2018 01:56:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526979371; cv=none; d=google.com; s=arc-20160816; b=jcxFvkQ2YIU1xbXyAoXUkw9D5BPW1emLFETjI1CfrSYSNDXsfRVVpEldcFKoJoT5wF w9+RgoMN9p9MeiSE21LnufXQeFrQyi4npGTWbI+Bwop6klo6VBvFeOpjrUQSm6EttMg4 8h1a0Anx7f2D6wyXLLJKghy+sR30zc+I6QY95ts2HrUCDAxYJNadQkVhWz9xHk9aOueP wGhZDPSewDcTSYF8dNyST9s4zxvrRMU9lB3kjc1yZC1hqFAn02L9PTbcVKpu+DD0rx/W 1iQKvwzFfUMPDwk2QIDQKbadBl7MaRsTSg2sG46y4DqFTMncYQvui8hjm6/Lei9GElmQ ps8Q== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=2OVILFXuvWJ8bPAhcwDFH20C6dIfz1kkMPCm+aWlcB4=; b=vLD6fIY+prZ8g8rQJwyRBEXJb3csmwDdhWWuE52xn5dpTJLZLvnL5DgE1OiNcdGFbf UyP04y5WvM1CTzf5KnHZnSiZcSv8tOhZJqCUj49ZeUrVoHIR8l20k0TSDG5ww2EBP0zA KFNS7CZR1PnJXcueDyH8Gl5VVoGzKb0257sCiP1jMB5Sc20jFsjZl+tLlnE3tyZE7rX3 faYRJg5TmAYxY1mDhS7uHZoT+QwDKXi9nVpeIiIswW2/KTnh5JB4w4nDVQMxVbkuSve1 0b0bWQ7Lhi3hjXi+lhkt60swu+Qbc1nQD3vmy19nB8IxMeNGH4R+JftRla6D6JE2BCDM LxZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ft3r2pM0; 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 w1-v6si12480889pgp.10.2018.05.22.01.55.56; Tue, 22 May 2018 01:56:11 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20161025 header.b=ft3r2pM0; 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 S1751415AbeEVIzd (ORCPT + 99 others); Tue, 22 May 2018 04:55:33 -0400 Received: from mail-ot0-f195.google.com ([74.125.82.195]:43160 "EHLO mail-ot0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751069AbeEVIza (ORCPT ); Tue, 22 May 2018 04:55:30 -0400 Received: by mail-ot0-f195.google.com with SMTP id y10-v6so20053800otg.10; Tue, 22 May 2018 01:55:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=2OVILFXuvWJ8bPAhcwDFH20C6dIfz1kkMPCm+aWlcB4=; b=ft3r2pM0hp1Ch1kY3sONiWbcf3/eclFTrcE0SXuZwIsVidixisoKFiWENfEvTGVlrl XRwJ1oqZEvOoEfQCmQVoDHzFcz4T94+oLb3Qc1VcHmk5wVpE1cubXDt375CQwvO4PSxX EeM1i5jxwicP8GRt22tA8rPdIf7wthtVeTUHU9FhfxrwM5zqkSHhO2CVwgjmdtQY5HpF /G+lVVn0RHwMQ+5A/MErLlHJFH+MEw/tP8QiSvWHyVuM2nV/1IhVHAQQ4dbhrLv1KycW w+052sT6qe0sIxKeiQoh7+PdzlAS2obUiTreN2WTAfGza51iUo/q3JJKxhFqoIVZRjX+ CS1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=2OVILFXuvWJ8bPAhcwDFH20C6dIfz1kkMPCm+aWlcB4=; b=eHnYuWSfePIho7Q80lTfUP8PuSdpb2/TsYFx3k+rODvi2LocRnXGD1/x23b2oh3Ygv hf+Y/snPngsf/KEFN51wSJAN+ep7qkQqzmVDwqY2Ro/0LnKNdPamSDQ7nYQurGSbOHgK gNdNuyLg2BoxkyNV/iYGjgUt06SxtXsLUqFHn5avx6CnIPeCZ3ZGvfENsKn1ZAWjK/jZ pZrEPBXgyIOFMZHGrDo9uu+wZfgJhB0XDN2Jtln19+H3S++NTP1MkLZ1NgJmTy2lFWXZ QyTBD6YqbvrM8FHL9XMq1NlSX6XGiwrxKWGVxTc9d4ry2g8oZIBih6elk5DnjtpEAS4Z N0wQ== X-Gm-Message-State: ALKqPwdbnWgW8XW5F7E/lKk3kPPTAk0IAJ7ktJl9MLbvyPeJ4AoWNg6Y Yt6lEkJa4SoD+vypCG5pvwoEICaXl1TAh5jJaH4= X-Received: by 2002:a9d:5917:: with SMTP id t23-v6mr16243690oth.217.1526979330000; Tue, 22 May 2018 01:55:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:1468:0:0:0:0:0 with HTTP; Tue, 22 May 2018 01:55:29 -0700 (PDT) In-Reply-To: <20180521135003.32459-2-mr.nuke.me@gmail.com> References: <20180521135003.32459-1-mr.nuke.me@gmail.com> <20180521135003.32459-2-mr.nuke.me@gmail.com> From: "Rafael J. Wysocki" Date: Tue, 22 May 2018 10:55:29 +0200 X-Google-Sender-Auth: kD8NZTbOE3l_UbJsVDZjOs8B7nY Message-ID: Subject: Re: [PATCH v6 1/2] acpi: apei: Rename ghes_severity() to ghes_cper_severity() To: Alexandru Gagniuc Cc: Borislav Petkov , alex_gagniuc@dellteam.com, austin_bolen@dell.com, shyam_iyer@dell.com, "Rafael J. Wysocki" , Len Brown , Tony Luck , Tyler Baicar , Will Deacon , James Morse , Shiju Jose , "Jonathan (Zhixiong) Zhang" , Dongjiu Geng , ACPI Devel Maling List , 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, May 21, 2018 at 3:49 PM, Alexandru Gagniuc wrote: > ghes_severity() is a misnomer in this case, as it implies the severity > of the entire GHES structure. Instead, it maps one CPER value to a > GHES_SEV* value. ghes_cper_severity() is clearer. It looks like the *real* reason for this change is that you re-introduce ghes_severity() as a different function in the second patch. There are a couple of reasons to avoid that, one of them being that people will now have to remember what the function did in which kernel versions. Also, the current name is good enough IMO, so I'm not going to apply this patch.