Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4646493iob; Sun, 8 May 2022 20:28:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXQQqlIT5hBgkCqavTge2BjnMZW+CpkTtmCwNZYSwxKsqEvVfO1DkeanpXqUi40JiUrdCz X-Received: by 2002:a17:902:e748:b0:15e:ee3c:5b22 with SMTP id p8-20020a170902e74800b0015eee3c5b22mr12791024plf.48.1652066933363; Sun, 08 May 2022 20:28:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652066933; cv=pass; d=google.com; s=arc-20160816; b=xUcTTLqfvJE2GghDZIn0NbQnkVC6iimuFjeD3PwNPLGi3w3jugT8BNZmMwV0k8+kxF 8Z8Y2o1S3s5n5aWRG+vItYdOMDjFxURlzLOi4hPnetzosVjNhUKUXzxWXg+1gTBUdLnK 6zKEmtql/FL8xwmbpgBtFsP5qdA7m5liu8b3ueZZdmq9G48HyT7kptw6gocsjwKqk24C YxfNIzWlDZ8c1fqsg6qjsaMYL/K1m/nMR69IlG41dF8+ID6PMvwgupkyLmArl+Dy8Lez 9AXPl2P0kfgLWx4/DXTUJCHPrL7AIxpmQNmZQNp693T5TaKqRwMP8EAMssLmZGd4qrIf Aw+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=29cEpcULozk/DLGSFSaBmoYeA7CdkEc96lJ3cZ5ZHCc=; b=enVU8rA1dd+ejDPDufLSxcljXz3OjX+u7XvuFsOQJqLH2YYg2neAaoyVNsxERBQAip nYeyRqT5bFP2FwGO764bnzy6fPuPHLmvuTNaRmMcB7x70rV9W8vrtBZrwsw7hEz6ic3r o0jSMownnRq0pwuMmqJOXHXv4qDeDI91NqNc5qGYGOD+zKz6u2qz/OhOf13hQw9gdNbv 1xTJrLdgjap8PSzFe/TT4L8M78s+G0DtAfwQ+R93JCar6yYscWyWB4Qdtq/52t1hK+5y 53qjgrMhOEXXNSNkIU6fvJPzMa2m8cyG/LnMcdhA1hQFgUnWxo7TRtLP7bknDiKtZgu2 ZJZA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo0.onmicrosoft.com header.s=selector2-vivo0-onmicrosoft-com header.b=Lhhq5AkM; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g5-20020a636b05000000b0039ce0b60072si12911260pgc.873.2022.05.08.20.28.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 20:28:53 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo0.onmicrosoft.com header.s=selector2-vivo0-onmicrosoft-com header.b=Lhhq5AkM; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 971268C7CF; Sun, 8 May 2022 20:28:37 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239938AbiEECw1 (ORCPT + 99 others); Wed, 4 May 2022 22:52:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239845AbiEECwZ (ORCPT ); Wed, 4 May 2022 22:52:25 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2132.outbound.protection.outlook.com [40.107.215.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC75B38BD2 for ; Wed, 4 May 2022 19:48:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IYrLhjqzZKk5KFdg7fmyhUPTdxgydbTiuxt+IO1Phd253188Xuszj7dX6JM0ytJfNRcmc71R5NGCNqwpvDXb0bTxp+eklnOkZ7JxWm/uDxWYpg2D616voAVR/Q2+/HVqgLvqE6sGLmyljYF83amlCJbHIEO8zuRUPyZYDWEtwmC/ZTu1GdXXaGg8u7U8my3Q3ZlrAa7JKgWWYvw6HhgR9QHK+rQv7YLd/ombMA7Nii6u6miLlJGQlfAzFGYgPR49Wbx9FFePrxaFP1HEzPDBWNJLU0qlwcFSYuVOYyZ+124InmyDeMv+Cxo1YAi1A8yajqX3C6V5j3CmZ/NkQTh65g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=29cEpcULozk/DLGSFSaBmoYeA7CdkEc96lJ3cZ5ZHCc=; b=CZ1l0oU+0UjSKtHpSnTXRxLA22Yx4+fd8aiiIIL33hVvjDihMOuQdiCXAUbe3MfrORF5Y5WyLWyPpWkvI1qGHEN4epU1K1lc6UVGCqfu4eb2y8LJ5Qkib2oYV821ZcCG5rCxj0ixPBz7yVBKfi0sQXICpfmwYElh2hQMXZc9TuWcjaOcSjUt3n9SiSJ5rsSztWs0SPXuyhOdrqjS/MsbrboZ1Ukq+1i1QDzrd4UXP3acPaUjAMiWLOvXXjcFkEnHFGmqG6TCgWMDZAZmqCw1ZVm4nUYes2qYJAYdN0aYEl3XQ9QZO5rBgX+cWC1ak6cYZg6HS8YxcFlCk2LSv9c8TQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo0.onmicrosoft.com; s=selector2-vivo0-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=29cEpcULozk/DLGSFSaBmoYeA7CdkEc96lJ3cZ5ZHCc=; b=Lhhq5AkMHY05O9HJQTGcL8oFAFcRO9K/AuVRH3iho31JjYCq67J1IjYb8jjZN/XXQ9bKuQ5tksMPaXzPU5+JFvF+0HFBX3I6eJ/3B7iTlvY+fCQHktMA2+hzPUtjnMK+Oh+Lx9GALAoWSBmuJP1+OmIwXYX7DKzcVNl5DAsbELs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from TYZPR06MB4173.apcprd06.prod.outlook.com (2603:1096:400:26::14) by SI2PR06MB5138.apcprd06.prod.outlook.com (2603:1096:4:1ad::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.24; Thu, 5 May 2022 02:48:45 +0000 Received: from TYZPR06MB4173.apcprd06.prod.outlook.com ([fe80::d4bd:64f4:e1c0:25cb]) by TYZPR06MB4173.apcprd06.prod.outlook.com ([fe80::d4bd:64f4:e1c0:25cb%4]) with mapi id 15.20.5206.027; Thu, 5 May 2022 02:48:45 +0000 From: Yihao Han To: Nishanth Menon , Santosh Shilimkar , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: kernel@vivo.com, Yihao Han Subject: [PATCH] soc: ti: wkup_m3_ipc: replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE Date: Wed, 4 May 2022 19:48:33 -0700 Message-Id: <20220505024833.8494-1-hanyihao@vivo.com> X-Mailer: git-send-email 2.17.1 Content-Type: text/plain X-ClientProxiedBy: TYCPR01CA0079.jpnprd01.prod.outlook.com (2603:1096:405:3::19) To TYZPR06MB4173.apcprd06.prod.outlook.com (2603:1096:400:26::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dbaf26d2-c6cc-413d-fbad-08da2e41c5c0 X-MS-TrafficTypeDiagnostic: SI2PR06MB5138:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: itE7YnMXYlCDwym+J8Lv1hVMcrMZfwht8ak2D2Co1ZUzaGY/4o0bM/x4PxxH9iGu852HhiixgTaxlc1EPhmlvKJSpx6yDyq4uh+gwOYNq82Bm/c2h8s36PNXKuAW/Cy7W7nUxK+fYMt0WidlgfVhUD8UUjVqGfqi5dBsvx5R8B+p9ktqatF/kSURZF+sMlpsaVcnY5kAuxI6oS9pO7dhWIUlppYFlK94lafER2Rag13015A9INznvL6tF0EAGU1SJLNMch3PeN0sG5rgDGozBJNa+nxZn2nB4956DEHvpW1kL6f6a7qJdoeNnlQXMRgasg+BmqTrG+XVzpGzM9Dgtfj/9uaVbgfbcxgrmr6g1mz28d8waC4DSuvRLLIJx+VJ80E03nUNqdORJvUcL7MmIVyFk0sY3K0PdIB7NX9b5+mwehzAP89CkN2dTe4VLfzLJ95MyQXkfyYm2LwOVenQ2TVclpViIrdmT1ktJXWuSiqHec2pIuSgzuLrMj6wtpiBdqU2McEDhVdckIGP/cN7zOnucTLcnq7XNeXgICT7PlUsWS62OntPJ8lcvKLsABVnTL9FStTIBWB+CPLkYMIVKmXgm0INRxO2IJql9ihTD4xo1girPaltw3+5F5/cJofDH93dvGuNbB7WSJhMWEqqUKkPHQsmPCehHzv/A/R/uuB0BuDrTVHWqydDREMSqWkIJ5e1MOoZctlf2bxNn7JZqg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR06MB4173.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(83380400001)(5660300002)(2906002)(4744005)(186003)(110136005)(107886003)(1076003)(36756003)(8936002)(2616005)(52116002)(86362001)(38100700002)(316002)(38350700002)(6512007)(26005)(66556008)(4326008)(66476007)(6666004)(8676002)(66946007)(508600001)(6506007)(6486002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?gObY+ejThnBfdebGI6Ja1k+ajSnpTmVlsXWiYSZr9LET4fORBrNkNCDBzdQD?= =?us-ascii?Q?Mfiy10U8VpRNNW99I9aafrQu2wOeQAQWrcx69FiROCcgPzsk4XqQF74Dadkx?= =?us-ascii?Q?GT4tQEgRBttzwFNjX1ijPQBnp1y4cpQqoBaGD4T1i2HUlDoR3bVQv5ZD619f?= =?us-ascii?Q?pIPzfxaSNeakaI8FNHKAxOz36/3zAk4FStzY/M6PVz1Hi3BYi2xHXrjwO8Pn?= =?us-ascii?Q?+Cu/yIsyJMsLCitB63Q9hKnOR2E0yMedzlr1Yj1ta3yNuF1A0VCU1PeGl7pj?= =?us-ascii?Q?tzv3Dv05HIsp9QA/aOCphR/yJPF5x2m6pAFakRUE5ZS5VWBv/kWNzIF9zxts?= =?us-ascii?Q?sZFX0ts5FIcb7WSRI7Gao5O7o7FBKty/6YKx0PTRhQ0u/L1fy0+emToDyGAP?= =?us-ascii?Q?HnqCUG2xgTul1CE17ycGmKOlrzGy5VMwSjU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?= =?us-ascii?Q?jo6roGRI/Hr0xEDs0eIdYSsX/qTce7C/eresDHuyBYsUOm8X8rQ2sC4Ay/4M?= =?us-ascii?Q?qkSQ8zmJxgOOH8P8wYeseVoju1Jl7rLGVCBLT/g6Q5PPW+vgV/dSSdyfAzxl?= =?us-ascii?Q?ucaDszTvUNngJgMFuCPkhAN8m/7+SS2Q4rOC3gbpGvXpycBP1i0UMXAR7xFj?= =?us-ascii?Q?VUmZR9vb+Gi4OA6AnQwgrAiY2XD8H1U+CBFUnkwyqJTic4Prllo7/SRjEPTm?= =?us-ascii?Q?RwII4scRlN75LEJ5jY00n65i78kde86c7Z58+eqgByoSB2wFum6foThOzrI6?= =?us-ascii?Q?7h51YwSOqp3UmfE/u+x8FtIk0xU0ob6PNQm3VuOo7fcHp0aMybkWtcjS0S/p?= =?us-ascii?Q?HQmERP+cqTUSrF4CxO9PW+Akl+mUNtJlJETYHC12DGNER7+TtqHxW5gUCXVJ?= =?us-ascii?Q?QF8a08nd9A=3D=3D?= X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: dbaf26d2-c6cc-413d-fbad-08da2e41c5c0 X-MS-Exchange-CrossTenant-AuthSource: TYZPR06MB4173.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2022 02:48:45.3419 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 1A0cLyeDklpFeb1FyxFZeQL5H+VfQA1ghGmdEv39Mj13aLffGDGyKe+BnxTOr0UDtpvSXF4e+bVOqxGzaUanWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB5138 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fix the following coccicheck warning: ./drivers/soc/ti/wkup_m3_ipc.c:198:0-23: WARNING: wkup_m3_ipc_option_fops should be defined with DEFINE_DEBUGFS_ATTRIBUTE Signed-off-by: Yihao Han --- drivers/soc/ti/wkup_m3_ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/ti/wkup_m3_ipc.c b/drivers/soc/ti/wkup_m3_ipc.c index 0076d467ff6b..2142d8fb3f5c 100644 --- a/drivers/soc/ti/wkup_m3_ipc.c +++ b/drivers/soc/ti/wkup_m3_ipc.c @@ -195,7 +195,7 @@ static int option_set(void *data, u64 val) return 0; } -DEFINE_SIMPLE_ATTRIBUTE(wkup_m3_ipc_option_fops, option_get, option_set, +DEFINE_DEBUGFS_ATTRIBUTE(wkup_m3_ipc_option_fops, option_get, option_set, "%llu\n"); static int wkup_m3_ipc_dbg_init(struct wkup_m3_ipc *m3_ipc) -- 2.17.1