On Tue, Oct 15, 2019 at 2:36 PM Ben Dooks <[email protected]> wrote: > > Add __ioemm attribute to reg_rng to fix the following > sparse warnings: > > drivers/char/hw_random/ks-sa-rng.c:102:9: warning: incorrect type in argument > 2 (different address spaces) > drivers/char/hw_random/ks-sa-rng.c:102:9: expected void volatile [noderef] > <asn:2> *addr > drivers/char/hw_random/ks-sa-rng.c:102:9: got unsigned int * > drivers/char/hw_random/ks-sa-rng.c:104:9: warning: incorrect type in argument > 2 (different address spaces) > drivers/char/hw_random/ks-sa-rng.c:104:9: expected void volatile [noderef] > <asn:2> *addr > drivers/char/hw_random/ks-sa-rng.c:104:9: got unsigned int *
> > Signed-off-by: Ben Dooks <[email protected]> > --- > Cc: Arnd Bergmann <[email protected]> Acked-by: Arnd Bergmann <[email protected]>
