Received: by 10.223.164.221 with SMTP id h29csp3178335wrb; Fri, 3 Nov 2017 03:04:18 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Q2WwlF/7uyBLyriz1iGD15mSxB8iJ0FPDe58dOEuoIJQpCDK37XS+PaOXDLsb/cnuwADsu X-Received: by 10.159.216.140 with SMTP id s12mr6372858plp.318.1509703458648; Fri, 03 Nov 2017 03:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509703458; cv=none; d=google.com; s=arc-20160816; b=vUUyxVfjqwT7VhpFRW4l66r68YIJkwwVnLpYmS5ee4A3I7WcFg7KQT3pKTbz/UTTin JMk7cqCqlCVwF/wZbPS3dt4v3ZiXB1iPMSOF4B8kXV5heNjsLdK+wVqsmGEaeCnSTcLP x4hW4ea5I0tGsl2k1dwI7nCxjPwgUBkpdWux8jxdc6Ht/V36kJFA5kok1adG3a1mc5QO V1AHDsLGsfI1lhTgQcsjawDxRX0xeUoNMgibP1HYB1v/flZZ1uw/4KZ1Ek5jJsE5UdkC tHQd1pXKtsuZKmpU4kmrihNHUmolTIXuPz8TFLfmLy2d7/mfMebdwb3ncvna8HkQ8oFQ zvEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=c1gCJOPXb/gkXgKwY39mghY2JNFZhbFVK1Jc2aK/GFA=; b=azChe4u0Fb3nqHj/wrkTYRJ6a/+rUqtBrW/RsCNTEV8m+o+JsoIwG1YB/bCIjxProK /ESENImYsEfmXzSkmNV2+S0QXsmJ2t0PsH+k1UHbE/6NZbhOyDxRBdo9hzcSjXCPu3RJ 8wUU8Gh7SBuf+7HbQs1JK8GyU+bFLjI33t358wVRVejd03euAJIyQY8N3ShL7upSgY58 qHx9pQjIzSFZvhCQBqKrm4zCtLz77VErdpQ6VdGBv6utF6VkHaY/pG5qDMss3Jult/HY XWBIP6sYtfqCMeX2TJ8/Nn+H+If2NbfB5m0AIBMWFOOQ+0JAEyODLdYc3LkrNt2XPgql 0h+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=LpuESY7+; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s62si5709705pgc.504.2017.11.03.03.04.05; Fri, 03 Nov 2017 03:04:18 -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=pass header.i=@lightnvm-io.20150623.gappssmtp.com header.s=20150623 header.b=LpuESY7+; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755956AbdKCKDR (ORCPT + 97 others); Fri, 3 Nov 2017 06:03:17 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:54189 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755923AbdKCKDB (ORCPT ); Fri, 3 Nov 2017 06:03:01 -0400 Received: by mail-wm0-f68.google.com with SMTP id r196so356063wmf.2 for ; Fri, 03 Nov 2017 03:03:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightnvm-io.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=c1gCJOPXb/gkXgKwY39mghY2JNFZhbFVK1Jc2aK/GFA=; b=LpuESY7++3qgjL9AvbAnyXniKNBTLgMUwbhVy4ij8BaADcxUZ55qwURb+3Jobyge2P aL8u1pdTPlZCB26Xj9LBRUz7wsyTfn+byfqwJwkgpMWcYHUJVV/Sabu5ZO7Un0Fj5W2o 8PYgnIdNZNzOz1/eRee839bCIx7hyZjgNBl4RWsR2x518u7mO3bRwIPqdmIjtl9p8DIO OFdJqRLBBFjRhMVqZ7achowQlKoEXxOAleWJcNw80m2trOnoAU5Fox8Zgf9b0pGX1FcA Q87DBKJoa7s/JzAXHHY/X2rAA3OeVa4vCY2eOdPEfnWpn+sT9PkLv7CqFmU2N/Oup/hV fe3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c1gCJOPXb/gkXgKwY39mghY2JNFZhbFVK1Jc2aK/GFA=; b=oUB9YdA7wfHfGIkEQgKwBl8uI+f2/VYUofg8CJkBpUXoLMceuvlc3aZ3aKM/kbMBi+ Ep8YZYhmFRRRspZ8z8JkrtiEB0emgQWuWPSpJoYuHFKqnxnTK9W0LTOkBBTOjxKqQiZ6 etegs2ExHTnjeHSl2VJ1rO31sAjZh1G6Mv/kzZoLJbOqH0dcxQWQfu10KisczOc/zidu d9AWJcSabEegMnFGxPsyFDsa77YqXARK760u0V7PGTT8Z9sJSBv+Ut1yxneqOM7lk2wh 3ctZXgDh94bGsef835KMs5F1Vwy2I8FGCBZr88zHUHqCkWMHgFJPrSwHommkNLs449z7 HAKg== X-Gm-Message-State: AMCzsaXtr/4vHG4jd9TaU/+uFGHKxblbuPscGIr3XPnCkhWvR87c2orT EONcuHfPo8gcQFdp1wSsHJ2anA== X-Received: by 10.80.226.8 with SMTP id n8mr8283506edl.177.1509703379883; Fri, 03 Nov 2017 03:02:59 -0700 (PDT) Received: from uHalley.cnexlabs.com (6164211-cl69.boa.fiberby.dk. [193.106.164.211]) by smtp.gmail.com with ESMTPSA id 41sm4837530edz.66.2017.11.03.03.02.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Nov 2017 03:02:59 -0700 (PDT) From: "=?UTF-8?q?Javier=20Gonz=C3=A1lez?=" X-Google-Original-From: =?UTF-8?q?Javier=20Gonz=C3=A1lez?= To: hch@lst.de, sagi@grimberg.me, keith.busch@intel.com Cc: linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Javier=20Gonz=C3=A1lez?= Subject: [PATCH 3/3] nvme: fix eui_show() print format Date: Fri, 3 Nov 2017 11:02:50 +0100 Message-Id: <1509703370-20379-4-git-send-email-javier@cnexlabs.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1509703370-20379-1-git-send-email-javier@cnexlabs.com> References: <1509703370-20379-1-git-send-email-javier@cnexlabs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Javier González --- drivers/nvme/host/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index ae8ab0a1ef0d..f05c81774abf 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -2108,7 +2108,7 @@ static ssize_t eui_show(struct device *dev, struct device_attribute *attr, char *buf) { struct nvme_ns *ns = nvme_get_ns_from_dev(dev); - return sprintf(buf, "%8phd\n", ns->eui); + return sprintf(buf, "%8phD\n", ns->eui); } static DEVICE_ATTR(eui, S_IRUGO, eui_show, NULL); -- 2.7.4 From 1583547973434561219@xxx Thu Nov 09 00:57:11 +0000 2017 X-GM-THRID: 1583470831932956009 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread