Re: [PATCH] crypto: caam: add missing header dependencies

2016-09-07 Thread Herbert Xu
On Sat, Sep 03, 2016 at 11:29:30AM +0800, Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/crypto/caam/ctrl.c:398:5: warning: no previous prototype for > 'caam_get_era' [-Wmissing-prototypes] > > In fact, this function is declared in drivers/crypto/caam/ctrl.h > and

Re: [PATCH] crypto: caam: add missing header dependencies

2016-09-07 Thread Herbert Xu
On Sat, Sep 03, 2016 at 11:29:30AM +0800, Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/crypto/caam/ctrl.c:398:5: warning: no previous prototype for > 'caam_get_era' [-Wmissing-prototypes] > > In fact, this function is declared in drivers/crypto/caam/ctrl.h > and

[PATCH] crypto: caam: add missing header dependencies

2016-09-02 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/crypto/caam/ctrl.c:398:5: warning: no previous prototype for 'caam_get_era' [-Wmissing-prototypes] In fact, this function is declared in drivers/crypto/caam/ctrl.h and be exported, thus can be refrenced by modules, so this patch adds

[PATCH] crypto: caam: add missing header dependencies

2016-09-02 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/crypto/caam/ctrl.c:398:5: warning: no previous prototype for 'caam_get_era' [-Wmissing-prototypes] In fact, this function is declared in drivers/crypto/caam/ctrl.h and be exported, thus can be refrenced by modules, so this patch adds