From patchwork Thu Oct 27 09:12:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mukesh Ojha X-Patchwork-Id: 11692 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp125977wru; Thu, 27 Oct 2022 02:30:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7XLJ5TpKQFzKQARN+KK9FtzIFeb/qquAspBUoZgv39YMAO30nBAsT831OrGPHstSdw8JgK X-Received: by 2002:a05:6a00:174c:b0:565:c73a:9117 with SMTP id j12-20020a056a00174c00b00565c73a9117mr47751424pfc.23.1666863050326; Thu, 27 Oct 2022 02:30:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666863050; cv=none; d=google.com; s=arc-20160816; b=OgTjbavlhTTTVwK7amgJeStv9jMrtWzszRmHEzndi8urN2kEz6gdtkpidwXcQFRzyt BZS/9gyGpxRLNPYuXnv7lH7f3OUn/k5voS9hckAKaJ7ljaF554h+ZXkAZugThL3ssumi Vspc9ggzV0U68H8CxSaMID+C6txJoCoADuQQyA4AiGUUsbMYU04iIKr0odTDBHamKsU9 Fx3ECgtfiWAnT+kIPW5m2bqIsI34Rs9CIFcu/0qqp4UhyjB83JLhhv0ApUZM2o7rYDLa RlD4lbhjg/VarbvR+EoWjWB9/fBe2CukaIJqZr9GHgM6nrvUp+exriJcxZMu4EO8pQsc quCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=X4HZsC2UHwmsaiEO54dlFpkcDdriC3RIpdAYueIPt+w=; b=UgOv9tw9XBKcTRNac1+CK3A69Mvv5DoupONAFm/9aNeVhtKZ5KeNVb2KYpUZF9Uoom GCsCcPbs6b5+iBFYMZbk3fVPGRKw5R59Q2oOxL7lkXXe8LziPweXE6uq6xTypyIbkBpo t7dOiS2yy6EZqP4VcAn9/O8KsUODjBEW890dtmdvW6/v0H+9fEZ0inIxjIFaH4uIKNMK QWTG41whnFo6Suwlc4fODpiE3dU31nlbl4UrF5hrUwcwecz8pLI8b0pL3p9jdtWuRfrN KiUX51kfH6gyRNTqoTx47sV/PYv3z+OoNoPqZBnyPQiaVRoFbB6YEsTUup8QTrbrNy32 YD1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=lFkp7Q5i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa2-20020a17090b4fc200b0020d3d140012si5455624pjb.45.2022.10.27.02.30.35; Thu, 27 Oct 2022 02:30:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=lFkp7Q5i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235323AbiJ0JUM (ORCPT + 99 others); Thu, 27 Oct 2022 05:20:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234605AbiJ0JUF (ORCPT ); Thu, 27 Oct 2022 05:20:05 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC2951707E for ; Thu, 27 Oct 2022 02:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1666862403; x=1698398403; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=X4HZsC2UHwmsaiEO54dlFpkcDdriC3RIpdAYueIPt+w=; b=lFkp7Q5i+uKX3PkeCHCAU+SZftjBd9L+9/XjFBwXzj06EcmBa5KvjVp5 EPlNXGX1gvcEa0nIvZJ3K5TR7NZnNH4I+NAwhsBdH3RfFcgk/H4eZJdRg Ew6FrZ/Hce9WlCBbxU8zPUZ0t/P0OUDXtLFivtKENgQkCO5w4yrBXQ0mt k=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-01.qualcomm.com with ESMTP; 27 Oct 2022 02:20:02 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.45.79.139]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2022 02:20:01 -0700 Received: from hu-mojha-hyd.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Thu, 27 Oct 2022 02:19:58 -0700 From: Mukesh Ojha To: , , CC: , , , Mukesh Ojha Subject: [PATCH 2/2] f2fs: fix the msg data type Date: Thu, 27 Oct 2022 14:42:41 +0530 Message-ID: <1666861961-12924-2-git-send-email-quic_mojha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1666861961-12924-1-git-send-email-quic_mojha@quicinc.com> References: <1666861961-12924-1-git-send-email-quic_mojha@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01c.na.qualcomm.com (10.45.79.139) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747832589950438104?= X-GMAIL-MSGID: =?utf-8?q?1747832589950438104?= Data type of msg in f2fs_write_checkpoint trace should be const char * instead of char *. Signed-off-by: Mukesh Ojha Reviewed-by: Chao Yu --- include/trace/events/f2fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/trace/events/f2fs.h b/include/trace/events/f2fs.h index ff57e7f..7fbfce4 100644 --- a/include/trace/events/f2fs.h +++ b/include/trace/events/f2fs.h @@ -1404,7 +1404,7 @@ TRACE_EVENT(f2fs_readpages, TRACE_EVENT(f2fs_write_checkpoint, - TP_PROTO(struct super_block *sb, int reason, char *msg), + TP_PROTO(struct super_block *sb, int reason, const char *msg), TP_ARGS(sb, reason, msg),