Re: [PATCH] crypto: do not attempt to write to readonly variable

2011-03-03 Thread Herbert Xu
On Mon, Feb 21, 2011 at 03:27:22PM +0100, David Sterba wrote: > Commit da7f033ddc9fdeb (”crypto: cryptomgr - Add test infrastructure”) added a > const to variable which is later used as target buffer of memcpy. Patch applied. Thanks! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~h

[PATCH] crypto: do not attempt to write to readonly variable

2011-02-21 Thread David Sterba
Commit da7f033ddc9fdeb (”crypto: cryptomgr - Add test infrastructure”) added a const to variable which is later used as target buffer of memcpy. crypto/tcrypt.c:217:12: warning: passing 'const char (*)[128]' to parameter of type 'void *' discards qualifiers memset(