Re: [PATCH 1/1] lib: rsa: struct udevice build warning

2021-02-25 Thread Tom Rini
On Wed, Feb 17, 2021 at 12:54:31PM +0100, Heinrich Schuchardt wrote: > Avoid build warnings observed with gcc 10.2 > > In file included from lib/rsa/rsa-keyprop.c:16: > include/u-boot/rsa-mod-exp.h:65:24: warning: > ‘struct udevice’ declared inside parameter list will not be visible > outside of

Re: [PATCH 1/1] lib: rsa: struct udevice build warning

2021-02-18 Thread Simon Glass
On Wed, 17 Feb 2021 at 04:54, Heinrich Schuchardt wrote: > > Avoid build warnings observed with gcc 10.2 > > In file included from lib/rsa/rsa-keyprop.c:16: > include/u-boot/rsa-mod-exp.h:65:24: warning: > ‘struct udevice’ declared inside parameter list will not be visible > outside of this defini

[PATCH 1/1] lib: rsa: struct udevice build warning

2021-02-17 Thread Heinrich Schuchardt
Avoid build warnings observed with gcc 10.2 In file included from lib/rsa/rsa-keyprop.c:16: include/u-boot/rsa-mod-exp.h:65:24: warning: ‘struct udevice’ declared inside parameter list will not be visible outside of this definition or declaration 65 | int rsa_mod_exp(struct udevice *dev, const