Received: by 10.223.176.46 with SMTP id f43csp4058392wra; Tue, 23 Jan 2018 03:39:11 -0800 (PST) X-Google-Smtp-Source: AH8x226+gJOhoKiak9RfB5RYI6TLxMLtpQNocOr94N3C1iCNjZzO/CtAAtbi+pBGmNzORA8VXpo+ X-Received: by 2002:a17:902:52f:: with SMTP id 44-v6mr5252388plf.65.1516707550979; Tue, 23 Jan 2018 03:39:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516707550; cv=none; d=google.com; s=arc-20160816; b=fWd7lSB9TSaoCeC4Ki1TheHWKUZToShN1m17mcFWmrhFa9gmxqCTeDjGNoZrVMfQoQ Vjcpi8x1W8hykfpOq3ZyBL/2ZIedjPHAZjPgf9yxlq6Sxw9e7RAYkNuW8XF5mgHf5gr4 AhEsXvy9cGR1OJbQ2H3l1dRDNnPumSyWkyNWzdDcZkBBLe4lx5PjJxeWK9TgriHhnFny GK3ch8Cf1fzr2ANB0ycWgxJ4Iqk2WJjCYSFjcsar6GPN83a2p2CHxf6TSDuFtzwybCN3 GGMWPTVIb5kCaSFKDYt4sa0hE5whVp9by11BOv1zZnT5+QjXosJ3Aqqx6m4xOVNif74V Aq6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=jLH+jUY6BD/VC/9r9SXSBdNKynuGypyBjAUxqvWOTiM=; b=W6CGm7vpCgWxOGS2sF9agilVKBylLlpDaynY/vmMqxL9sUYfRN6fxpoN4R9dZAMwbL FF6gWMncTlO3Wcr1VyXAGtsldeSUWrs7ha8UqqiUYsQR8tCY/cx/r5GmntRUNL2ja9gr Xu7Dy7d2lyGdQs7AQuMiPUlxibRWn82sBTFpn8gDVHMwoQgp/KFvKh0VBhOBHSc030mK X6FJdYWMzMkhhTkPjUnblnf2Wb0SbA14Md5J0HBECCefy+gkQzRvw2bXjuKMmBLaHAfI KNLna3pS5XP8xenSeEvual/KBaMqt81A84XemFhhrOBjOn2OJ4zNE7ZEdm7U1rt/HxSr I0oA== ARC-Authentication-Results: i=1; mx.google.com; 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 f13si1314377pfj.28.2018.01.23.03.38.56; Tue, 23 Jan 2018 03:39:10 -0800 (PST) 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; 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 S1751243AbeAWLiB (ORCPT + 99 others); Tue, 23 Jan 2018 06:38:01 -0500 Received: from smtp-fw-2101.amazon.com ([72.21.196.25]:11412 "EHLO smtp-fw-2101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751184AbeAWLiA (ORCPT ); Tue, 23 Jan 2018 06:38:00 -0500 X-IronPort-AV: E=Sophos;i="5.46,401,1511827200"; d="scan'208";a="665804090" Received: from iad6-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2a-90c42d1d.us-west-2.amazon.com) ([10.124.125.2]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Jan 2018 11:36:50 +0000 Received: from uecb1d7364e75593fe229.ant.amazon.com (pdx2-ws-svc-lb17-vlan2.amazon.com [10.247.140.66]) by email-inbound-relay-2a-90c42d1d.us-west-2.amazon.com (8.14.7/8.14.7) with ESMTP id w0NBaZx7107574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Jan 2018 11:36:36 GMT Received: from uecb1d7364e75593fe229.ant.amazon.com (localhost [127.0.0.1]) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Debian-3) with ESMTP id w0NBaYTe029573; Tue, 23 Jan 2018 11:36:34 GMT Received: (from luisbg@localhost) by uecb1d7364e75593fe229.ant.amazon.com (8.15.2/8.15.2/Submit) id w0NBaXY9029570; Tue, 23 Jan 2018 11:36:33 GMT From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , Dan Williams , linux-nvdimm@lists.01.org, Luis de Bethencourt Subject: [PATCH] device-dax: Fix trailing semicolon Date: Tue, 23 Jan 2018 11:36:32 +0000 Message-Id: <20180123113632.28461-1-luisbg@kernel.org> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The trailing semicolon is an empty statement that does no operation. Removing it since it doesn't do anything. Signed-off-by: Luis de Bethencourt --- Hi Dan, After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0]. Best regards Luis [0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html [1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html drivers/dax/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dax/device.c b/drivers/dax/device.c index 7b0bf825c4e7..2137dbc29877 100644 --- a/drivers/dax/device.c +++ b/drivers/dax/device.c @@ -133,7 +133,7 @@ struct dax_region *alloc_dax_region(struct device *parent, int region_id, dax_region->base = addr; if (sysfs_create_groups(&parent->kobj, dax_region_attribute_groups)) { kfree(dax_region); - return NULL;; + return NULL; } kref_get(&dax_region->kref); -- 2.15.1