Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1030286rwb; Sun, 6 Nov 2022 18:09:34 -0800 (PST) X-Google-Smtp-Source: AMsMyM76guX69dwK5eXNnnAtQFyqtWA/gmh82HWB9rhUp+dNp1iptaXhBeaDXCG1LohOMm5m/Frh X-Received: by 2002:a17:907:3ea2:b0:7ad:86f9:7b15 with SMTP id hs34-20020a1709073ea200b007ad86f97b15mr45414290ejc.272.1667786973901; Sun, 06 Nov 2022 18:09:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667786973; cv=none; d=google.com; s=arc-20160816; b=Y0RQPyG8GAwdfuCux9MhuOTZxa92D4NT5PrsFqKhIujCkslUWB2ZiOHQR152u1oFTk zk8yiL/1nhz8C5kMeI26warjwTvPaaAR8lEXyyqXHFh+kI5zW3U9FVt1CUFVq5hNOzHx twrK71t5R//XQBwe9rZSJF/YGpmdO6WcJOhrw4nZ+Bb7jKxYlltU1xWiSfWv5nYKiePl vessfXQTctfYGgoj55gOsh0cJhv+8ZesZySLFEZDqWohjN1zBEpmXYsUEsrgaxnMuT2n uwc4q6S1s9YfS/vKs96xEJhyDlrWDljKvxP4eI9Jm2gFmLOEqhbtcto/PloGcuN72SqT YTRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=Wi8V1yFiWUeLX75x/BagX/FwkpPuZX9tumVLDWypZ7A=; b=Gx9aHOdIRGGBS9Recwy+q5WO29ofOaxg65LLEaNW/xmQt+aeDCKVpJTof4HC2Wvunx VeJh3atcz0HUG8RFB+C02rOVZDp24tgsdZKgidIKpmb/Y2kYiPuyGpHgEUVAb/Xjf3Zi 8StvCmrNI5yEvuo6qiz/tct8ZkwAt9NBscdJIocDv9SJBqEWlvgFusloMai88rEwVp5U VsjSl6Fusb72Y0+qyQx3KvOWDbIjgiLyf20MG97ltcVMoX7c5buQDKNr8nsM29T5Vt1K 2L6GL8cs0OSFK8nJcbL3wV77+OLVptb8X56kMP3ilcWsbR1YHXSW2pL+2IBzqZiHZueD +wMg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i15-20020a1709064fcf00b0076f16ec62d6si7511936ejw.959.2022.11.06.18.08.57; Sun, 06 Nov 2022 18:09:33 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230263AbiKGCEN (ORCPT + 96 others); Sun, 6 Nov 2022 21:04:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbiKGCEL (ORCPT ); Sun, 6 Nov 2022 21:04:11 -0500 Received: from mail.nfschina.com (unknown [124.16.136.209]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 911A0A455; Sun, 6 Nov 2022 18:04:10 -0800 (PST) Received: from localhost (unknown [127.0.0.1]) by mail.nfschina.com (Postfix) with ESMTP id E8CC71E80CE5; Mon, 7 Nov 2022 10:01:49 +0800 (CST) X-Virus-Scanned: amavisd-new at test.com Received: from mail.nfschina.com ([127.0.0.1]) by localhost (mail.nfschina.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xn8leCsuRSGg; Mon, 7 Nov 2022 10:01:47 +0800 (CST) Received: from localhost.localdomain (unknown [219.141.250.2]) (Authenticated sender: zeming@nfschina.com) by mail.nfschina.com (Postfix) with ESMTPA id AE72D1E80D9D; Mon, 7 Nov 2022 10:01:46 +0800 (CST) From: Li zeming To: code@tyhicks.com, sforshee@digitalocean.com, brauner@kernel.org, amir73il@gmail.com Cc: ecryptfs@vger.kernel.org, linux-kernel@vger.kernel.org, Li zeming Subject: [PATCH] ecryptfs: main: Remove unnecessary (void*) conversions Date: Mon, 7 Nov 2022 10:04:04 +0800 Message-Id: <20221107020404.3380-1-zeming@nfschina.com> X-Mailer: git-send-email 2.18.2 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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 The ei pointer does not need to cast the type. Signed-off-by: Li zeming --- fs/ecryptfs/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c index 2dd23a82e0de..3e499207d4c6 100644 --- a/fs/ecryptfs/main.c +++ b/fs/ecryptfs/main.c @@ -649,7 +649,7 @@ MODULE_ALIAS_FS("ecryptfs"); static void inode_info_init_once(void *vptr) { - struct ecryptfs_inode_info *ei = (struct ecryptfs_inode_info *)vptr; + struct ecryptfs_inode_info *ei = vptr; inode_init_once(&ei->vfs_inode); } -- 2.18.2