Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2013452pxb; Sat, 21 Nov 2020 06:03:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvyCxQwXnaKh6EenVcqRUpnC12UAYjap8ZySi5WdLxBp9iwiE4U7rKUIdFX8ZY8Zr9WMh4 X-Received: by 2002:a17:906:ceca:: with SMTP id si10mr5480604ejb.409.1605967404932; Sat, 21 Nov 2020 06:03:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605967404; cv=none; d=google.com; s=arc-20160816; b=o2P8h+3BHyjO9PK6XtdxXlUHQi/H9qzblY2Y4NcdEP0vcEVMgmYXO2qunWoecnsbbo 4FETsAfYkB3NYbthgx0NrW5EUUAwW1ul6rSiXJG7tuQ/sj+ETlBGVmLfQv8NC/kiMSDG 1pfAQpXLv7oe4m9qcj5GEddsUoRJMUhyfjRg85gMMEVTQhnX+aZEizn1IZeO2yQPBVgM LSZ29/AFlOQNZaECwVvjQNHR6i2VyypIgLaQFVaDPnEesPcAxVm5WzhOEDLZt+c+Dgfm oIjbBOoYoVrjbYu9s/TIQBEd+nj/cT/nD0QAVGTHIBqxTKrundBBo/nCgycnAMhxnOil YJPg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hkIhGHP8YvYo+Fe39wHlU1jbDv53qs8LMyCMcK/zpZY=; b=gNnmyyybexGOiWwFoEfb8bkiR/6fKFcBnYISLfKUDvWRqoIJ1f+t6yh2i1UWa46Qyd vRejNMoZKEOjfkD16GM8jYC1b1kgBeGVYIFh1UGfI/PI7afCb26vTu2G4DohkDptaFaH zPRjsWdrpz1wZ6n6mcUigF6/dY3AckIbdRXJoL46gE+MCqK8C/GvBssliwoAtPbQbAok 1EAjN6Ut9+PNGNZSZ9AN4z6aoSu0NzyQeY7g+aD+f3vBuMv6E4jLjOYRl1k1xy++OiNz 7cdxL6bniY8SWZvm8bFnj0z/LQWLH4k72qQAiRDDtmcZVaV/OtQ0HoYXeaFpyzNG0tJ3 szuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="VaBp/PLm"; 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 w9si3636856eds.193.2020.11.21.06.02.16; Sat, 21 Nov 2020 06:03:24 -0800 (PST) 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="VaBp/PLm"; 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 S1727900AbgKUN5p (ORCPT + 99 others); Sat, 21 Nov 2020 08:57:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727741AbgKUN5o (ORCPT ); Sat, 21 Nov 2020 08:57:44 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB66DC0613CF; Sat, 21 Nov 2020 05:57:43 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id j7so13832133wrp.3; Sat, 21 Nov 2020 05:57:43 -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=hkIhGHP8YvYo+Fe39wHlU1jbDv53qs8LMyCMcK/zpZY=; b=VaBp/PLmuipBixL0nMuXp6MaXGOZSp43PZb/H349yWjQZbL8XgahpAKmvYSVtUba2K D94skssyBZrM3brTxpClvUnnYd55Xcs/DWqfm7uxaU5xscH5z/im4Rpf5Vo3C8OOi0LO RK2F7CcSvsxyFVCxJ0ZHYXTSmrCvENyfjs1dp+srb0+PNLeCNlGAEtga/jvq4PE2sFtJ f2Xv15CzfLKlizH75s7Mbo9lGdzMeDStHHrfv6NeoY4XSTKxLn8Cgr6opToqCueWKPbt EEr13/NldYV2iMxGshbX0FiQ4ddXMSUNFTUfuqAFderusNDI/beXx13TH0vVAFA+EXBF HxRg== 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=hkIhGHP8YvYo+Fe39wHlU1jbDv53qs8LMyCMcK/zpZY=; b=p6YBVWvUnrASZp0VExqbjBozqeqYcWnbzcYkaUkj9+vka3HD0Cibo/U1uOUOdc+U14 kotVa4HHMDy7glZF3KmzBP1/7Fuw4rKkz7c38y/Y7vOyXM/AwYBpxF8cHkNTQMDa3ymE prro12ktBCJAk9sfXbVyjCpDXkhKoWi6mjR5HSATrQNaStUk0hf2uCSWOcKEmST1/9Uw C1c1FkSJxynvbgYnc5QeoUVo16svYJ/z20KXzXgHAif/rNJy5sm/HPb2jZ7a8z4oQJNE hEwniWjFAmNwHDggHf3kf0NjipNg642EGCCR6Nd3Gn3JRfuZbMKpoo6Tilyu0YLHySo8 sYEQ== X-Gm-Message-State: AOAM533LOwlJePlMeMPr7wvoP0bgbOge6ztCf2lMXD7f4bw1zVHB4crU Js5m2O3Eg+Aa7+JISQE2D2g= X-Received: by 2002:adf:fe46:: with SMTP id m6mr22982503wrs.254.1605967061833; Sat, 21 Nov 2020 05:57:41 -0800 (PST) Received: from localhost.localdomain ([170.253.49.0]) by smtp.googlemail.com with ESMTPSA id 17sm41689951wma.3.2020.11.21.05.57.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Nov 2020 05:57:41 -0800 (PST) From: Alejandro Colomar To: Alexander Viro , linux-fsdevel@vger.kernel.org Cc: Alejandro Colomar , linux-kernel@vger.kernel.org Subject: [PATCH 1/4] fs/anon_inodes.c: Use "%s" + __func__ instead of hardcoding function name Date: Sat, 21 Nov 2020 14:57:33 +0100 Message-Id: <20201121135736.295705-2-alx.manpages@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201121135736.295705-1-alx.manpages@gmail.com> References: <20201121135736.295705-1-alx.manpages@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Alejandro Colomar --- fs/anon_inodes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c index 89714308c25b..7609d208bb53 100644 --- a/fs/anon_inodes.c +++ b/fs/anon_inodes.c @@ -152,11 +152,11 @@ static int __init anon_inode_init(void) { anon_inode_mnt = kern_mount(&anon_inode_fs_type); if (IS_ERR(anon_inode_mnt)) - panic("anon_inode_init() kernel mount failed (%ld)\n", PTR_ERR(anon_inode_mnt)); + panic("%s() kernel mount failed (%ld)\n", __func__, PTR_ERR(anon_inode_mnt)); anon_inode_inode = alloc_anon_inode(anon_inode_mnt->mnt_sb); if (IS_ERR(anon_inode_inode)) - panic("anon_inode_init() inode allocation failed (%ld)\n", PTR_ERR(anon_inode_inode)); + panic("%s() inode allocation failed (%ld)\n", __func__, PTR_ERR(anon_inode_inode)); return 0; } -- 2.28.0