From patchwork Mon Sep 19 02:51:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiangshan Yi <13667453960@163.com> X-Patchwork-Id: 12979666 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A236C32771 for ; Mon, 19 Sep 2022 02:52:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E9588940007; Sun, 18 Sep 2022 22:52:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E1CA76B0073; Sun, 18 Sep 2022 22:52:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CCB37940007; Sun, 18 Sep 2022 22:52:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id B9C986B0072 for ; Sun, 18 Sep 2022 22:52:19 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 8ACC9406FB for ; Mon, 19 Sep 2022 02:52:19 +0000 (UTC) X-FDA: 79927311198.12.87BD87F Received: from mail-m973.mail.163.com (mail-m973.mail.163.com [123.126.97.3]) by imf26.hostedemail.com (Postfix) with ESMTP id 4CC9C14000A for ; Mon, 19 Sep 2022 02:52:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=P6b0s MOaHLyvaSYFu9NkNYGexGgxBeHW674D41BwmR8=; b=nvJBvgiajnsutlQ1lTHoo 1azDoftmubSSslR3NQkWQfy4qJ8SxnonMNgjNRxPskRpPdHuGJBtFseUYpt+MBu2 An0W/BaNaq3u1pV1CHHUc1S5n16waFfZx0TP/DEYc17+iqE9w2zxI4pg5n9TJii5 XM0x7XpOesZ/0qu6y4jEf4= Received: from localhost.localdomain (unknown [116.128.244.169]) by smtp3 (Coremail) with SMTP id G9xpCgDHq2dH2Sdjyx55ew--.40217S2; Mon, 19 Sep 2022 10:51:53 +0800 (CST) From: Jiangshan Yi <13667453960@163.com> To: viro@zeniv.linux.org.uk Cc: ebiederm@xmission.com, keescook@chromium.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Jiangshan Yi Subject: [PATCH] fs/binfmt_flat.c: use __func__ instead of function name Date: Mon, 19 Sep 2022 10:51:39 +0800 Message-Id: <20220919025139.3623754-1-13667453960@163.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-CM-TRANSID: G9xpCgDHq2dH2Sdjyx55ew--.40217S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7JrWUXr1Dtw4UtF47GF17Jrb_yoWfGwc_Ca 4I9rZrKFWDtrWrZF1v93yYgF1jgan29r4fWFnxXr1ak3yUJ398Za4kJr4xKry5X34jgr4k uFZFgasFywnIyjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU1xnY3UUUUU== X-Originating-IP: [116.128.244.169] X-CM-SenderInfo: bprtllyxuvjmiwq6il2tof0z/1tbivgCB+1ZceuzkxAABs5 ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=163.com header.s=s110527 header.b=nvJBvgia; spf=pass (imf26.hostedemail.com: domain of 13667453960@163.com designates 123.126.97.3 as permitted sender) smtp.mailfrom=13667453960@163.com; dmarc=pass (policy=none) header.from=163.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663555939; a=rsa-sha256; cv=none; b=yk3py4x55f55PBYGBg6KzTxk+y4XclGNZ0A+Ou4BljrvmnUf00acmYcIaQeSdHLzLHD86q OBDvEYfBQpQmogKIARFShNkYqyFQfwQlTDueU80DNVf8Mia3FBVJo/i3cUu5lOneiwByCV VXoQT9n16DNVtqSZzg1YJrbH0WqI+bM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663555939; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=P6b0sMOaHLyvaSYFu9NkNYGexGgxBeHW674D41BwmR8=; b=Iciz3mXcpQYFihamdIWykSTDEo0hn6kezYZJWAQqQCa69X8kdFNvjzteT0MisgwJ2rR2Ug aYiKKHg0jGPwnOQ05HT5SLmX7Z/Mv54W6IPZs6fPqqY/ShLE3aIk6u7m9ZFKhhjQ/PV133 P2pAnJB9lU5hGdhlbYwMF+WyEkTD7ws= X-Rspam-User: X-Stat-Signature: ym3m9oyfh4rxt15h93ft68bzmcebpcbk X-Rspamd-Queue-Id: 4CC9C14000A Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=163.com header.s=s110527 header.b=nvJBvgia; spf=pass (imf26.hostedemail.com: domain of 13667453960@163.com designates 123.126.97.3 as permitted sender) smtp.mailfrom=13667453960@163.com; dmarc=pass (policy=none) header.from=163.com X-Rspamd-Server: rspam04 X-HE-Tag: 1663555937-25580 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Jiangshan Yi It is better to use __func__ instead of function name. Signed-off-by: Jiangshan Yi --- fs/binfmt_flat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c index c26545d71d39..4104c824e7b1 100644 --- a/fs/binfmt_flat.c +++ b/fs/binfmt_flat.c @@ -184,7 +184,7 @@ static int decompress_exec(struct linux_binprm *bprm, loff_t fpos, char *dst, z_stream strm; int ret, retval; - pr_debug("decompress_exec(offset=%llx,buf=%p,len=%lx)\n", fpos, dst, len); + pr_debug("%s(offset=%llx,buf=%p,len=%lx)\n", __func__, fpos, dst, len); memset(&strm, 0, sizeof(strm)); strm.workspace = kmalloc(zlib_inflate_workspacesize(), GFP_KERNEL);