RE: [PATCH] crypto: inside-secure - remove unused struct entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Antoine Tenart <antoine.tenart@xxxxxxxxxxx>
> Sent: Friday, July 5, 2019 4:18 PM
> To: Pascal van Leeuwen <pascalvanl@xxxxxxxxx>
> Cc: linux-crypto@xxxxxxxxxxxxxxx; antoine.tenart@xxxxxxxxxxx; herbert@xxxxxxxxxxxxxxxxxxx; davem@xxxxxxxxxxxxx; Pascal Van
> Leeuwen <pvanleeuwen@xxxxxxxxxxxxxx>
> Subject: Re: [PATCH] crypto: inside-secure - remove unused struct entry
> 
> Hello Pascal,
> 
> On Fri, Jul 05, 2019 at 10:17:25AM +0200, Pascal van Leeuwen wrote:
> > This patch removes 'engines' from struct safexcel_alg_template, as it is
> > no longer used.
> >
> > Signed-off-by: Pascal van Leeuwen <pvanleeuwen@xxxxxxxxxxxxxx>
> > ---
> >  drivers/crypto/inside-secure/safexcel.h | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/crypto/inside-secure/safexcel.h b/drivers/crypto/inside-secure/safexcel.h
> > index 379d0b0..30a222e 100644
> > --- a/drivers/crypto/inside-secure/safexcel.h
> > +++ b/drivers/crypto/inside-secure/safexcel.h
> > @@ -660,7 +660,6 @@ struct safexcel_ahash_export_state {
> >  struct safexcel_alg_template {
> >  	struct safexcel_crypto_priv *priv;
> >  	enum safexcel_alg_type type;
> > -	u32 engines;
> 
> This patch can't be applied to the cryptodev branch, as 'engines' is
> still used. I guess this is done as other (non-applied) patches are
> removing the use of this member.
> 
> You should wait for either those patches to be merged (or directly
> integrate this change in a newer version of those patches), or send this
> patch in the same series. Otherwise it's problematic as you do not know
> which patches will be applied first.
> 
> Thanks,
> Antoine
> 
> --
> Antoine Ténart, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com

This patch indeed depends on earlier patches. I was just assuming 
people to be smart enough to apply the patches in the correct order :-)

So please ignore, I'll either resend or incorporate it in an update of the 
earlier series later. It's nothing important (i.e. functional) anyway.

Regards,
Pascal van Leeuwen
Silicon IP Architect, Multi-Protocol Engines @ Verimatrix
www.insidesecure.com





[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux