Re: [PATCH 1/2] crypto: Constify (de)compression parameters

2015-04-30 Thread Herbert Xu
On Tue, Apr 28, 2015 at 03:36:30PM +0100, David Howells wrote: > In testmgr, struct pcomp_testvec takes a non-const 'params' field, which is > pointed to a const deflate_comp_params or deflate_decomp_params object. With > gcc-5 this incurs the following warnings: > > In file included from ../cryp

[PATCH 1/2] crypto: Constify (de)compression parameters

2015-04-28 Thread David Howells
In testmgr, struct pcomp_testvec takes a non-const 'params' field, which is pointed to a const deflate_comp_params or deflate_decomp_params object. With gcc-5 this incurs the following warnings: In file included from ../crypto/testmgr.c:44:0: ../crypto/testmgr.h:28736:13: warning: initialization