From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 A6C02C55185 for ; Wed, 22 Apr 2020 23:43:33 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (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 63EE620656 for ; Wed, 22 Apr 2020 23:43:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=intel-com.20150623.gappssmtp.com header.i=@intel-com.20150623.gappssmtp.com header.b="l9tOGiMK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63EE620656 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id D350210FC35BB; Wed, 22 Apr 2020 16:43:12 -0700 (PDT) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::641; helo=mail-ej1-x641.google.com; envelope-from=dan.j.williams@intel.com; receiver= Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id F0145100780B4 for ; Wed, 22 Apr 2020 16:43:10 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id re23so3269128ejb.4 for ; Wed, 22 Apr 2020 16:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fcrDXAYtAPdQ5qlr1w8aWOfD6suyITb3nozV7/vzPs4=; b=l9tOGiMK8o7Mu5XIESoWMJHYlfzAtLOQ9+trUjWkvdQw7kVjnETJCP6UU5bFXTVW9F WmYijYz9MEIBbiBn9MZfB05ZZlHIOtFQGooSfe2X6rY2dmLv8JaAE/0LZt8L8+Rj2P8r tQLHg2/vDTumfQmgQ88klpcTd4tMLVgXeX0B8pUhK0480t++npX8zFksPl3j1K8vgNmi 1x1EoD369gPVZupnlGOjozOydyxNKdyHNJqMzpkzr+6NyCzvRMwSJ6XiICVjRwDzy3Yu 8uEUCBciprc7GJkoGncLSVto801Zy5/r7O4u9v50nmQZ/yMB2dpOc2QPMrrIwqdy94xc JpaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fcrDXAYtAPdQ5qlr1w8aWOfD6suyITb3nozV7/vzPs4=; b=P3ZB5uGfV7YS4yjbtIaWh1oWiPDHSUK6ZHn/VLgwKaNIDsDlTOL5NaaezxqG15jGSw wJeghTJSz7jQOWCgLDgQlIfOjKqFcRwGdtUR3IiFdXSL/oHcs3mPlxae2dmUhh+aOMIM pQafo+FbSnWbEwsfb2ne8PnizAKShpvUKrXVD0lQ8q+NNWC/4JxDtN68CFEKLJe+nHt7 Q/5j6NEzn7auBiBFjm6C6hg4oAitEpnegWaTtYOy88NIvSZJCKDZS1KjWmBDTUaP+U3D z69mwTdBB5WI/96gI4GlD7C9tfc7tBJMFg4AvTt12xNwk8AsPvR4W7x6vT3KOenLha9n cvzw== X-Gm-Message-State: AGi0PubVdL18AeTxhg5HxYABE46aTMOMxetChIEflET9HMOWW4CyM4lw +utfHF5bBchqZ7ra10uFPkeerTx9Tr/rfKC8qEAQKw== X-Google-Smtp-Source: APiQypIOEeepupEQDkA8AfIEujhoowVoegCdGbcNWfcI9RhvjFCnYP8EX/9Xwb3Lr1RROcSHy42ZnGiuuOj0gEiN5fI= X-Received: by 2002:a17:906:bb07:: with SMTP id jz7mr536589ejb.317.1587599009465; Wed, 22 Apr 2020 16:43:29 -0700 (PDT) MIME-Version: 1.0 References: <20200422130539.45636-1-andriy.shevchenko@linux.intel.com> <20200422171023.GJ3372712@iweiny-DESK2.sc.intel.com> In-Reply-To: <20200422171023.GJ3372712@iweiny-DESK2.sc.intel.com> From: Dan Williams Date: Wed, 22 Apr 2020 16:43:18 -0700 Message-ID: Subject: Re: [PATCH v1] libnvdimm: Replace guid_copy() with import_guid() where it makes sense To: Ira Weiny Message-ID-Hash: PUTDVRNTU43I7U7QLYEGCZA3KMM64BLO X-Message-ID-Hash: PUTDVRNTU43I7U7QLYEGCZA3KMM64BLO X-MailFrom: dan.j.williams@intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Andy Shevchenko , linux-nvdimm X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, Apr 22, 2020 at 10:10 AM Ira Weiny wrote: > > On Wed, Apr 22, 2020 at 04:05:39PM +0300, Andy Shevchenko wrote: > > There is a specific API to treat raw data as GUID, i.e. import_guid(). > > Use it instead of guid_copy() with explicit casting. > > > > Signed-off-by: Andy Shevchenko > > Reviewed-by: Ira Weiny Looks good, applied for 5.8. _______________________________________________ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-leave@lists.01.org