Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp552853pxb; Fri, 16 Apr 2021 12:01:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzidFId6yJL0pXArE5LH+R3tuI1d+o8qDhU2GYtLJqqwANPSSNR+a48li7M5boPw5Vga6MX X-Received: by 2002:a50:ed89:: with SMTP id h9mr11705655edr.17.1618599688603; Fri, 16 Apr 2021 12:01:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618599688; cv=none; d=google.com; s=arc-20160816; b=r6rCIFpYlilJ3wLQ0qr63qjKs5vZfH8egjDBmVBnW2/JZEjheKUIp5AJ14TPvqWviB yHt9xI6zie8YxdjUtBUeRY3CTqDZ+pZuMQEGy44zqY4wJVW6O496Hrk+klhjjCg7K2h8 aA6PLDMm9MWtmPSzpmVW9DkW+TDkAOn8TTOrx7iBoREzHDDaLgPAteYwwNVPirMHU8SX JWaesaJUuQ7yYUUfJa7HrCycZwe/Wr4ijoPcQnOWgVJUQkVKMg4gr4CuzJH9+ILqZHA+ 6v4T/BTIhV+LzLMO1eLayQz/mEoDb/NauDkgSfaj1OfcC41wahWLPgzdHgj4IRkPkjKz 2MOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=szMP20Yx2kNxDvdFawrRNNLnYT/v4I4hFiyTvfx9EZw=; b=HqkPbfLJwYGhnCwABrj8FI1tYs1LIFNBOzOLZmFE2Jgl1MNTon2r0n2V8aLM7cB6fb AbjVz8y/c/eum6SdG1wfbRjw3J1ikvY+xaf7UqZpq7X5LBHS1SqwTTOXw1zCXyw2PiMn 4VDqc4rauECFoDZ+Vvdvx3w8JxGEbClBHtEuTeiLhpUiVzdR3T5nSjAC1OhD3Ss7N9hL cyToI9seplPDUiW1P/sgqUcay0+uaBzoyefWtlEZ2s0XEHnxTS9mvWXWwdmvWrO0YVNQ XZ1W5rdd8On7ilBLf4UJzvu3lyoRjn+3sZ426rP4LMf+uITvxCEhngxo6RQFTMbTupSc kyDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x13si5229014eju.369.2021.04.16.12.01.04; Fri, 16 Apr 2021 12:01:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243115AbhDPRgm (ORCPT + 99 others); Fri, 16 Apr 2021 13:36:42 -0400 Received: from mga02.intel.com ([134.134.136.20]:30793 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242995AbhDPRgm (ORCPT ); Fri, 16 Apr 2021 13:36:42 -0400 IronPort-SDR: CUvtflCDenYtdx1J3Y5U3HRC7apm0zmd3LUHAPlxzB8zoUsbV6ra6WBG7veX2L0mnYyoGXARjP Owiw7a1bBhug== X-IronPort-AV: E=McAfee;i="6200,9189,9956"; a="182202343" X-IronPort-AV: E=Sophos;i="5.82,226,1613462400"; d="scan'208";a="182202343" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2021 10:36:14 -0700 IronPort-SDR: /G8uWyJoqpYxFkZQD8VLD5Dqg8KkxE+HRNc5pUt16jLXo3D9rjLp7z4QNfAQZgV6fimW794iI4 VbkG1qA30tNg== X-IronPort-AV: E=Sophos;i="5.82,226,1613462400"; d="scan'208";a="522771315" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2021 10:36:13 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lXSO2-004iS7-PW; Fri, 16 Apr 2021 20:36:10 +0300 Date: Fri, 16 Apr 2021 20:36:10 +0300 From: Andy Shevchenko To: linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org Cc: Dan Williams , Vishal Verma , Dave Jiang , Ira Weiny Subject: Re: [PATCH v1 1/1] libnvdimm: Don't use GUID APIs against raw buffer Message-ID: References: <20210415143754.16553-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210415143754.16553-1-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 15, 2021 at 05:37:54PM +0300, Andy Shevchenko wrote: > Strictly speaking the comparison between guid_t and raw buffer > is not correct. Return to plain memcmp() since the data structures > haven't changed to use uuid_t / guid_t the current state of affairs > is inconsistent. Either it should be changed altogether or left > as is. Dan, please review this one as well. I think here you may agree with me. -- With Best Regards, Andy Shevchenko