Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2359030ybl; Thu, 9 Jan 2020 11:19:17 -0800 (PST) X-Google-Smtp-Source: APXvYqwpVd3qQ9EjY+PTTMIGKG20g3+i4wyhw7qL5pdigz5bTJyADf2BRPkPWVDZJNBp3SxPtgXz X-Received: by 2002:a05:6808:2d2:: with SMTP id a18mr4540603oid.120.1578597557542; Thu, 09 Jan 2020 11:19:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578597557; cv=none; d=google.com; s=arc-20160816; b=NmKvHiXSd0oN/L9uZure2xs7I3moPYV0yfRMuxy1UlNzz/V6/voTXZeZHNyNuyYy9U pOJUBA2/VYOrDgYCuhW1K1NySCB4dNurpHnc3e9q8T78MmppNuFlBHO/Esz6d7JBIpnl HGeM3M1LR4JHOkJif7CejXHstjeG7zlMLzDiTK5VF7orZbgvDiyUivpaVk32E1jxzjmR tC99PSiPVB2opAK9x+rUtfkHKcMK/52Zsaca53BHJ0Qn4eLZM2yfoF+EB0h9x8DID3CL Dxqn6bjM8JskdJK7PCNVw/SuujhNA5uBPyuqVG2UQ52fU4JdISJI+R1j2EQGqDfKVYHq R7yw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=s2YJGyHBLvtLKqb9SRpRu2YXGxUEZDi676bDfDkyEFg=; b=hvjkx+Gk5XeABaj3PrhQTTrTc5eMm/yOG1MV+RrjGO6IauD9PkjTLw2wTCFOQxvlis TB5LURpSEhYDlEcB17VA6ItPEQOruWo2/Qd/3I1a4Z3G5NTX36LFrSS6j1Dt0qpF7mhl 9JPiWG4gQALN/I9n0BPJyZHSmFKd11Tt5nkrw/n/veZHkOxw1l7AjE0EjJvp+KvR8oHN o0+LOqtvUK6YYMFrdfZjLDvs7yMIl5Oxp8sWIbDoRKlSLupgJR8CVTPL2wOqdnOq/Oio rR0TqH4WkMQqML/gSFUz2Fv+wah9/W8PHLtxc/HQgnxSMBtUiyz0GcI/LyAKYGHSIUNF PyVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZneKtiAl; 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 w196si4239033oia.135.2020.01.09.11.19.04; Thu, 09 Jan 2020 11:19:17 -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=ZneKtiAl; 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 S1732478AbgAIPhS (ORCPT + 99 others); Thu, 9 Jan 2020 10:37:18 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:35733 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728098AbgAIPhS (ORCPT ); Thu, 9 Jan 2020 10:37:18 -0500 Received: by mail-qt1-f193.google.com with SMTP id e12so6214019qto.2; Thu, 09 Jan 2020 07:37:17 -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:mime-version :content-transfer-encoding; bh=s2YJGyHBLvtLKqb9SRpRu2YXGxUEZDi676bDfDkyEFg=; b=ZneKtiAlMcidG4UdYbHPyxPvUR5AWwRcKL1wUXAKDc3yaB5Rz2JG2cg9C+f/skx5di IPR1RluXbxEvHAmkbAnTVYeiCBecT03OzDYOo2OAHOHyuRB11O8rFg3tNiTOZLHmgXoa MDVcLXuCkhA1oB8ew29ESo+iL2YRj+s/rpqID+AgHME6pbnELqyMDAgHnW+2SQNpPP+w qa9P8QKO7h3dtEfAoPylj50dBtBSxZp8+7AFMi+ZRNDBYAZndBhg3CrVPteAPfeEtlfx QjKbf7Bh/VxE39BXkS2iW5QtRy7yAmy4Ihv5t2FvO5Gi6UQ3SfCpkGzS2kwEEsdy9Ixw /zzg== 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:mime-version :content-transfer-encoding; bh=s2YJGyHBLvtLKqb9SRpRu2YXGxUEZDi676bDfDkyEFg=; b=mOaRoE2a/5px/T8mIM6hF9MnFRxwEEF5uGxu9OT1ppZsSxJaQ3/SaOYI4Yiov9tQSG EJUal8RQ4Q33YiSpVBWGBsoSzzPRMqc2dFsvyozpAyObpoSMlLNflyGGD+iWhh+oizlS FFTYtSkMhn+s0Y+2ECfBv9mRleT3St/2piNpeHSa1avqV49WKduxOKVBkYoTuvMCJ8AF 7ln9dQiDTPZDLAT2uQ6w5/ororjHFwhM+cGNJ6U2S5kaio8my8sPsm6ca8BXRrbFd44m 7EwUDRlo1ZhC2tnCMsREiMAFeoS8MffTDl2s8OX+fjQiq23o+5mvIuk5bsuN3mR+v51L rP1w== X-Gm-Message-State: APjAAAUsPuRmEuyYTtu8DwUdCKOaRupdTo98ntPwYxbNNFmjSm1OAXMz yYmTeqK61lrkmiHR1aqgG9U= X-Received: by 2002:ac8:65d3:: with SMTP id t19mr8721051qto.369.1578584237194; Thu, 09 Jan 2020 07:37:17 -0800 (PST) Received: from localhost.localdomain ([2804:14d:72b1:8920:a2ce:f815:f14d:bfac]) by smtp.gmail.com with ESMTPSA id u16sm3122008qku.19.2020.01.09.07.37.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2020 07:37:16 -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-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [RESEND] fs: posix-acl.c: Fix warnings Date: Thu, 9 Jan 2020 12:37:07 -0300 Message-Id: <20200109153708.1021891-1-dwlsalmeida@gmail.com> X-Mailer: git-send-email 2.24.1 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