Re: [PATCH] crypto: user - fix potential warnings in cryptouser.h

2019-06-13 Thread Herbert Xu
On Sun, Jun 09, 2019 at 03:57:10PM +0900, Masahiro Yamada wrote: > > diff --git a/include/crypto/internal/cryptouser.h > b/include/crypto/internal/cryptouser.h > index 8c602b187c58..2339cb06dbf8 100644 > --- a/include/crypto/internal/cryptouser.h > +++ b/include/crypto/internal/cryptouser.h > @@ -

[PATCH] crypto: user - fix potential warnings in cryptouser.h

2019-06-08 Thread Masahiro Yamada
Function definitions in headers are usually marked as 'static inline'. Since 'inline' is missing for crypto_reportstat(), if it were not referenced from a .c file that includes this header, it would produce a warning. Also, 'struct crypto_user_alg' should be forward declared so that we do not rel