Message ID | 20230317063643.27075-1-yuzhe@nfschina.com |
---|---|
State | Accepted |
Commit | 9117e682b8b79f7b5e2517fd28d42757d3e8b860 |
Headers | show |
Series | crypto: caam - remove unnecessary (void*) conversions | expand |
Reviewed-by: Gaurav Jain <Gaurav.jain@nxp.com> > -----Original Message----- > From: Yu Zhe <yuzhe@nfschina.com> > Sent: Friday, March 17, 2023 12:07 PM > To: Horia Geanta <horia.geanta@nxp.com>; Pankaj Gupta > <pankaj.gupta@nxp.com>; Gaurav Jain <gaurav.jain@nxp.com>; > herbert@gondor.apana.org.au; davem@davemloft.net > Cc: linux-crypto@vger.kernel.org; linux-kernel@vger.kernel.org; kernel- > janitors@vger.kernel.org; liqiong@nfschina.com; Yu Zhe <yuzhe@nfschina.com> > Subject: [EXT] [PATCH] crypto: caam - remove unnecessary (void*) conversions > > Caution: EXT Email > > Pointer variables of void * type do not require type cast. > > Signed-off-by: Yu Zhe <yuzhe@nfschina.com> > --- > drivers/crypto/caam/dpseci-debugfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/crypto/caam/dpseci-debugfs.c > b/drivers/crypto/caam/dpseci-debugfs.c > index 0eca8c2fd916..020a9d8a8a07 100644 > --- a/drivers/crypto/caam/dpseci-debugfs.c > +++ b/drivers/crypto/caam/dpseci-debugfs.c > @@ -8,7 +8,7 @@ > > static int dpseci_dbg_fqs_show(struct seq_file *file, void *offset) { > - struct dpaa2_caam_priv *priv = (struct dpaa2_caam_priv *)file->private; > + struct dpaa2_caam_priv *priv = file->private; > u32 fqid, fcnt, bcnt; > int i, err; > > -- > 2.11.0
diff --git a/drivers/crypto/caam/dpseci-debugfs.c b/drivers/crypto/caam/dpseci-debugfs.c index 0eca8c2fd916..020a9d8a8a07 100644 --- a/drivers/crypto/caam/dpseci-debugfs.c +++ b/drivers/crypto/caam/dpseci-debugfs.c @@ -8,7 +8,7 @@ static int dpseci_dbg_fqs_show(struct seq_file *file, void *offset) { - struct dpaa2_caam_priv *priv = (struct dpaa2_caam_priv *)file->private; + struct dpaa2_caam_priv *priv = file->private; u32 fqid, fcnt, bcnt; int i, err;
Pointer variables of void * type do not require type cast. Signed-off-by: Yu Zhe <yuzhe@nfschina.com> --- drivers/crypto/caam/dpseci-debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)