Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp859616pxv; Wed, 14 Jul 2021 17:44:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSWHRg4zNMeZhfK946+bCxfiQ48BF02Pn3SFNOZNYgu8ZkrRA6Re6DrJDro5D1LDG8yPp0 X-Received: by 2002:a05:6402:2788:: with SMTP id b8mr1561886ede.244.1626309869717; Wed, 14 Jul 2021 17:44:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626309869; cv=none; d=google.com; s=arc-20160816; b=ToW8/JXvPl8pHUec+xRz06fU/NVWmkBdfvNtrYE7oxCE3QYkH8oJqYLEtLe51x8YuB NbF7HibqOqLY/OX5A+Rcvmjx5k2i354rR3hp/2ADiB+yf8EUeqoqdi8Ey9cCO3NmW6Y6 zTqESVNx10HPbxjJ2OMpqKsMifUQ45a8lnezQeQMHLTLFlWWEvMfG90THhgTRNxpvWi0 8wBWO0zpcLUCe0ip6G6uPdrAsp+jBw9JaGV32cjON3VFvsEdRi9TZWJYhcQfnJGVK5Ld PWN1JVQtOxGPuoNXthgnmFSU7vaM1MokhEHbAXPf7XQtoTWX1dDXsy3NONl/z+Z4IGm3 96Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2KSAXqmRjyKYuHKFp8sCGfk6HBDqnEDaygwUekwY4xg=; b=vK2kMi1ebxmip7FfCtjLWDoTFKwloFti54IEw/9XyZk+VGAONi/BK8AXOWoMqusNIf 9zY6XTiiXxK7jGj5CMYI4od49DWS3yc4BHzbE/PN+q510aCpV5OZCo+tWHzrO24Jkl0T otPc/HLDH59yzMvlN389oNuDh7AUAq8Ma7fltr1h43j5Zt0NKog19rPkKpNuSlBBVvIA YX1b9MjcElvQk/wtHykcmjAo1yStV4nYRzeQtom2UBjOBU6TniPGAEkouhqDBPqtybDG wWsacSoI4wztZWIX9i4vcnlC64EJ5V0rigiV4PkQeGY38iNsB2Z5uHiUbA3pMTxtI19F 6glQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e1v2W7sn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 3si4120534ejl.361.2021.07.14.17.44.06; Wed, 14 Jul 2021 17:44:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e1v2W7sn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235839AbhGNXat (ORCPT + 99 others); Wed, 14 Jul 2021 19:30:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:38004 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235198AbhGNXat (ORCPT ); Wed, 14 Jul 2021 19:30:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DBE2B613CC; Wed, 14 Jul 2021 23:27:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626305277; bh=hKD+baPhj9jxrJGAtmTewZxnUtIDWEH+5dVeSZU3+0w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e1v2W7snwvxI5Lp/GwRKhff4a67jDEEaZOKlgkRnrJvBUIUW17KlLwoU6B25g8x4E c5yHOz0EGHXHfSCbpurNXsNlviMEgTK1L1OmiqWHhbdzppuP9sB9paf1U/c9Vsfs3f l2VRk+9kQF2pgL6TRPMsUGRL1Mh9a5QgCrkhgi+EVUoFtR5uNAHmjcgYE+ORb4c+h7 1mdj0pbYBed52OsQZjpCC8xhUZaH+y7s6xQos82WArdGTfpfi0iB8tKH5s2IoBSrhI rR6jQ+krJ/QrfwGyh4J39RA3yFWxQcinkCql0tMdv6L92VNT9Gkygxr/UEvZieBvMz LoD8epQtKhBTw== Date: Wed, 14 Jul 2021 16:27:56 -0700 From: "Darrick J. Wong" To: Dwaipayan Ray Cc: linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org, lukas.bulwahn@gmail.com Subject: Re: [PATCH] fs:xfs: cleanup __FUNCTION__ usage Message-ID: <20210714232756.GL22402@magnolia> References: <20210711085153.95856-1-dwaipayanray1@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210711085153.95856-1-dwaipayanray1@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 11, 2021 at 02:21:53PM +0530, Dwaipayan Ray wrote: > __FUNCTION__ exists only for backwards compatibility reasons > with old gcc versions. Replace it with __func__. > > Signed-off-by: Dwaipayan Ray LGTM Reviewed-by: Darrick J. Wong --D > --- > fs/xfs/xfs_icreate_item.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fs/xfs/xfs_icreate_item.c b/fs/xfs/xfs_icreate_item.c > index 9b3994b9c716..017904a34c02 100644 > --- a/fs/xfs/xfs_icreate_item.c > +++ b/fs/xfs/xfs_icreate_item.c > @@ -201,7 +201,7 @@ xlog_recover_icreate_commit_pass2( > if (length != igeo->ialloc_blks && > length != igeo->ialloc_min_blks) { > xfs_warn(log->l_mp, > - "%s: unsupported chunk length", __FUNCTION__); > + "%s: unsupported chunk length", __func__); > return -EINVAL; > } > > @@ -209,7 +209,7 @@ xlog_recover_icreate_commit_pass2( > if ((count >> mp->m_sb.sb_inopblog) != length) { > xfs_warn(log->l_mp, > "%s: inconsistent inode count and chunk length", > - __FUNCTION__); > + __func__); > return -EINVAL; > } > > -- > 2.28.0 >