Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2079583pxv; Sun, 11 Jul 2021 01:54:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjzylgk4r/rcTbKKx67BNYu7W/6tOxIARAyQPGUn3lDpmV7c8WbLD1E+nz94IOEXzTnjTz X-Received: by 2002:a17:906:1284:: with SMTP id k4mr47445872ejb.25.1625993698701; Sun, 11 Jul 2021 01:54:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625993698; cv=none; d=google.com; s=arc-20160816; b=duufvCs22mBPFXkPylTG5NezawBl7fm7vHYir3K1SdWaRIuMUFPBfceUKtiHxXiIWQ w0MFi0Sh/P4WRxYALbX6aipLLXlBo8oGUSUrzXxwWCAPawrLkyFkSs58EL9nXekwK2Ah uPQVz1NnSGZUK9HPpFmcvFu/Fs3TPML/jduKogquTKIOuzIP7KoI1rqMDKT8GimjkB8j uXYBBZICOQfmaQkbSw8nrqwyN7IgQhVeIGPtwWNGrCHr8aQMRDQBiRL0f1aN0bUyhR+H Bboyb1h4G86atWOpYO/wly2ZQPFMKT7/fFRQ8kQsB4RIzIP/VicsvdjwopSZhwto1YpC O1Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=AO84Rj9d4JTCVtMc0GFQEjjZrGayiHrdPf63NXsjTXk=; b=j4MAFd6zi4ATliYHsApzFnJ5JTkiqdOfyDYmUK9xU9xBY/H9vosdQeh2X/wcsbL4VB aePyRnmO6fO5W5/AUKSYzHiC5IOrWmrWHt5mnpV84A2exF1OUMLtWD4kDy+Js9AqcjE6 imkS1g9YexEvIFtTry3yVVlkzTcgWiS2Yz5fWEABFDacIx6oVekSzwV9T1bhI8bCFCDP 8kwXLl41/kniLJ4ZTx7le5XnhjbuLj3bBvcpdJPWXjb4mKpW7sJOKVu8sEcRaSTBlld5 3mHoXB+UHoSGyP1o1KLhOej88OrVFt0E6FnWtLXWHNFuu4q548EzXofK6mTp/mPtXXNj 8weA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V6+MLYUK; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p26si13974543edx.381.2021.07.11.01.54.36; Sun, 11 Jul 2021 01:54:58 -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=@gmail.com header.s=20161025 header.b=V6+MLYUK; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229934AbhGKIy7 (ORCPT + 99 others); Sun, 11 Jul 2021 04:54:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbhGKIy6 (ORCPT ); Sun, 11 Jul 2021 04:54:58 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAB9FC0613DD; Sun, 11 Jul 2021 01:52:11 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id bt15so3181297pjb.2; Sun, 11 Jul 2021 01:52:11 -0700 (PDT) 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=AO84Rj9d4JTCVtMc0GFQEjjZrGayiHrdPf63NXsjTXk=; b=V6+MLYUKdwPuNCKa40xLrfBNXa1WJ+LsGO5wz4YrDV3j06rBL4dWtojpz5aezPi6Sg t8O3SLqKB/wFE6idh0b/Xp2wLoUMMUU9YsMB0v+a1FdTFUIzpSb96dzC6Gp7d+qj7thq SOIJGJ2MceFPAQMnh351ivwl8o8HJDn3RPTPjlTy4ETgf5grtfsNwmN9pskj3HgEiAD1 pzk+zA+qG8KMxv/E2AcdKDS8inMDS/Oc8LvZOq3AaJ57coFIBOd04jPWEru4ps7AYpKR kdZVADBnpFsaUF82YsZ0qm6tloZ/TaYdrN/tIx+BIRSkSjt3CJwoLjTBXUM4p/g/MPCx rplQ== 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=AO84Rj9d4JTCVtMc0GFQEjjZrGayiHrdPf63NXsjTXk=; b=gzNe2SNXrk3hiBhFAg2l7bvEWF/qLZQaEp8n/2XA0P6/PCFV2Z5PTP/XShY5xaf0Zb 4d6RxnljJMJ+ZVczkLrRmwtzoODrucKFkVx2gc05xf2/Eoj94pMMepky1rr0rQyqlNgw QFPP3prkoeptzVtFHk9KyUEQv7cck6pZhsk1pfvZsix+2n/bvUCkZLyVpibVcuKNebAg voXKi4CrEi/1seQW4nBgAOuYuOR1its+f72T2V6aiDqNzZ6AkggtJhy2X9wDsWcI1JAR DfkR2v+RshVAGYk3x6Zq63ASeGSCuCDNkymb7XHCAzaUA4jhaMdalBygFubggRizQV7X Dg/A== X-Gm-Message-State: AOAM531+3SnHmmD5hMPq40ksN9l+tC8sPUmDk56oIQAbyOgaoHcYiHoG zCcBOzkAcjCwP0Kieq5FAgk= X-Received: by 2002:a17:90b:33c8:: with SMTP id lk8mr7670420pjb.0.1625993531235; Sun, 11 Jul 2021 01:52:11 -0700 (PDT) Received: from localhost.localdomain ([49.37.51.242]) by smtp.gmail.com with ESMTPSA id h76sm12378486pfe.77.2021.07.11.01.52.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jul 2021 01:52:10 -0700 (PDT) From: Dwaipayan Ray To: djwong@kernel.org Cc: linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org, lukas.bulwahn@gmail.com, Dwaipayan Ray Subject: [PATCH] fs:xfs: cleanup __FUNCTION__ usage Date: Sun, 11 Jul 2021 14:21:53 +0530 Message-Id: <20210711085153.95856-1-dwaipayanray1@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org __FUNCTION__ exists only for backwards compatibility reasons with old gcc versions. Replace it with __func__. Signed-off-by: Dwaipayan Ray --- 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