Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp10402009ybl; Thu, 26 Dec 2019 17:03:38 -0800 (PST) X-Google-Smtp-Source: APXvYqymCRx4AqQls0QmkmsQUo1XRJAahJlmVQugAWUz1qppnXcCkLWTfmd+hQbWtWpLENzpUIiT X-Received: by 2002:a05:6830:1608:: with SMTP id g8mr51057306otr.169.1577408617781; Thu, 26 Dec 2019 17:03:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577408617; cv=none; d=google.com; s=arc-20160816; b=seUUYcqwetNBuWyEbJ+iXZPA0OtxOFitFGQPQimfaTnttGPEUBWBHegJjrovtwPFRB t/pxwR8Lijuuf2ErFUxgQaMI2sp8cWUxBVIgxdRCJjGoiKpXbPesiWdgch5UMbgVX+w5 35lfDqwpg2W20V4mbT0t+oeKN3NFyHah0uAQXLPdNROrS0eGxBJByPPl+rsWd83WAP+Y 6SOIyqiNhV7+kenKSex3pkwwT20sTVV33U0ZIZE5D3lK58v1ijRAaTQiS1lpoFiNd+7I u0LFeKtnEv7PJ/eXhcxU2N+C/WPRbjwPbpMBu0f2o8WSDBdmIb0lBnnWZazOWpoNC3qN KjhA== 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; bh=s2YJGyHBLvtLKqb9SRpRu2YXGxUEZDi676bDfDkyEFg=; b=cfcm/nvmWbfWaIju4F4ITXjcGYMt0au4dGeEoFwByF7J8OGNrLfBaa0XqAaCL5qGMe k5kLehxJYduPW7fSyRv8F5qTgDjqjIS771UzNX50cB9fJ0evNM2Tg18LP11GxQoomAGB Grq+CKerRLv8Dm+PmCK1FsaXsehmF/yPMs86q+ANrIQaTxf8pOUNpzt71vZlgM8sKK+Y PJ5l+jgsoNv7IoUOJjjXNcZA8fbxhy/xqc/UtfazCv1HTKOG3ztRiU1OkDA6DT8BPq++ 3qsP0GCF/rRHOXVlBLWLSOJUHR0lRl22qjMjuHzJMG1dssTmXqvBNGCSFec9a98gvrLm rAlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=twiCyqpn; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6si16469822otq.95.2019.12.26.17.03.26; Thu, 26 Dec 2019 17:03:37 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=twiCyqpn; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727034AbfL0BAv (ORCPT + 99 others); Thu, 26 Dec 2019 20:00:51 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:46851 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726277AbfL0BAu (ORCPT ); Thu, 26 Dec 2019 20:00:50 -0500 Received: by mail-pg1-f193.google.com with SMTP id z124so13638008pgb.13; Thu, 26 Dec 2019 17:00:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=s2YJGyHBLvtLKqb9SRpRu2YXGxUEZDi676bDfDkyEFg=; b=twiCyqpn/Igign0RvlTZHvRkRYKtUufFHA5W5ycoaUd3q/8n3py3R1QLAkBGcgvad9 Kfcxqo5rB/CXwKIUyAmRey7Sjj2B4U/UurCMPZ0Oq3XFZiq5iW4QXiNFq0XUvdph+djU amfN30k3K/pnAH2doaL32/Om0flzJGZE4QASYvLRwjk2VBR0jXqlVOJVvgz+OLfivS8P 6Mln+/3Y4Tcwxlp5b4USwweIsYnqqxgEFpsBqM60Mtv37cMjkY+BMwHW+axPm8cJx+OS Ij0wZx7Mo/qWeWuP/P+00VbarS89o+W+QgdgXlRZwfjLokI2fh3F+FuXB0ogkEOb4Odf tr8A== 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=s2YJGyHBLvtLKqb9SRpRu2YXGxUEZDi676bDfDkyEFg=; b=uFbrH3Sf5qW+5uI6/bCbHN96Bd/pOt/Ohbc9ubLCOmuLpiWguKmib6lUK/e/ftfOx2 bBdvrhtfXgLPSTgHQZzVh6R13J6maF9bYOdax1FiEZ+CMtrF+Z0+IRse8q4n8P6oGIfB oRf41ozT21qwy31HVOwy2HZW1aiYyyPlcFjsZPUSVsA2/DO49YuCIlcLmphvcRajcjt+ Iyp64enyj01PSgDQapCO1X1EvXN2qNGCWZauIhyXpUhu+TNxpB7WiDHwFfwPAnCEVQpC kqzZtUmMUbuz9DHyxOhT4oUIUEfGEtNvdIp/syYSMtzR1vJAkQEZBFmhFjYU3bdewMPs lyuQ== X-Gm-Message-State: APjAAAV7ESRHIxg5YNZLV2I22brHjDyq2jj3m65YmQNd6lS4l4mS+KFE iFRRT2fGv9WTzybFJGKj8qs= X-Received: by 2002:a62:e318:: with SMTP id g24mr51146777pfh.218.1577408450192; Thu, 26 Dec 2019 17:00:50 -0800 (PST) Received: from localhost.localdomain ([2804:14d:72b1:8920:a2ce:f815:f14d:bfac]) by smtp.gmail.com with ESMTPSA id 65sm39640144pfu.140.2019.12.26.17.00.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Dec 2019 17:00:49 -0800 (PST) From: "Daniel W. S. Almeida" X-Google-Original-From: Daniel W. S. Almeida To: viro@zeniv.linux.org.uk Cc: "Daniel W. S. Almeida" , linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-fsdevel@vger.kernel.org Subject: [PATCH] fs: posix-acl.c: Fix warnings Date: Thu, 26 Dec 2019 22:00:34 -0300 Message-Id: <20191227010035.854913-2-dwlsalmeida@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191227010035.854913-1-dwlsalmeida@gmail.com> References: <20191227010035.854913-1-dwlsalmeida@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Daniel W. S. Almeida" Fix the following warning /fs/posix_acl.c:636: WARNING: Inline emphasis start-string without end-string. By escaping a character. Signed-off-by: Daniel W. S. Almeida --- fs/posix_acl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/posix_acl.c b/fs/posix_acl.c index 84ad1c90d535..cb25966c6881 100644 --- a/fs/posix_acl.c +++ b/fs/posix_acl.c @@ -634,7 +634,7 @@ EXPORT_SYMBOL_GPL(posix_acl_create); * * Update the file mode when setting an ACL: compute the new file permission * bits based on the ACL. In addition, if the ACL is equivalent to the new - * file mode, set *acl to NULL to indicate that no ACL should be set. + * file mode, set \*acl to NULL to indicate that no ACL should be set. * * As with chmod, clear the setgit bit if the caller is not in the owning group * or capable of CAP_FSETID (see inode_change_ok). @@ -743,12 +743,12 @@ posix_acl_from_xattr(struct user_namespace *user_ns, return ERR_PTR(-EINVAL); if (count == 0) return NULL; - + acl = posix_acl_alloc(count, GFP_NOFS); if (!acl) return ERR_PTR(-ENOMEM); acl_e = acl->a_entries; - + for (end = entry + count; entry != end; acl_e++, entry++) { acl_e->e_tag = le16_to_cpu(entry->e_tag); acl_e->e_perm = le16_to_cpu(entry->e_perm); -- 2.24.1