Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CDBCC4708F for ; Mon, 31 May 2021 09:59:41 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 170A3611AC for ; Mon, 31 May 2021 09:59:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 170A3611AC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.134497.250198 (Exim 4.92) (envelope-from ) id 1lnehZ-00058d-6l; Mon, 31 May 2021 09:59:17 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 134497.250198; Mon, 31 May 2021 09:59:17 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lnehZ-00058W-3m; Mon, 31 May 2021 09:59:17 +0000 Received: by outflank-mailman (input) for mailman id 134497; Mon, 31 May 2021 09:59:16 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lnehY-00058Q-DU for xen-devel@lists.xenproject.org; Mon, 31 May 2021 09:59:16 +0000 Received: from mga07.intel.com (unknown [134.134.136.100]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 388a28c4-8426-43a3-b6e5-e69daeb303ee; Mon, 31 May 2021 09:59:15 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2021 02:59:13 -0700 Received: from aagrawa3-mobl.ger.corp.intel.com ([10.252.54.84]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2021 02:59:11 -0700 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 388a28c4-8426-43a3-b6e5-e69daeb303ee IronPort-SDR: bpjS/XG5xE+WJww/JwIWLtusDSw734BZY39I5z6NFdWwxaK9GnX7yHGAYizJOGjjHrHAtphKUw rrFxSfN/SBzQ== X-IronPort-AV: E=McAfee;i="6200,9189,10000"; a="267213160" X-IronPort-AV: E=Sophos;i="5.83,236,1616482800"; d="scan'208";a="267213160" IronPort-SDR: 1S3jLxaYzrnNm1Xrk7ZRx7yrzCFd3o9GwY2zvfbBUHJsdCSYU2mRvPVE69B1guHHNM7pomJMKP VlCgRzNWqagg== X-IronPort-AV: E=Sophos;i="5.83,236,1616482800"; d="scan'208";a="478856957" Message-ID: Subject: Re: [PATCH] x86/tboot: adjust UUID check From: Lukasz Hawrylko To: Jan Beulich , "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Wei Liu , Roger Pau =?ISO-8859-1?Q?Monn=E9?= Date: Mon, 31 May 2021 11:59:02 +0200 In-Reply-To: <422e39c9-0cba-0944-b813-dfe2578ad719@suse.com> References: <422e39c9-0cba-0944-b813-dfe2578ad719@suse.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3 (3.38.3-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit On Wed, 2021-05-19 at 17:49 +0200, Jan Beulich wrote: > Replace a bogus cast, move the static variable into the only function > using it, and add __initconst. While there, also remove a pointless NULL > check. > > Signed-off-by: Jan Beulich > Reviewed-by: Lukasz Hawrylko