On Thu, Sep 29, 2016 at 11:18:55AM +0100, Giovanni Cabiddu wrote: > > + if (nla_put(skb, CRYPTOCFGA_REPORT_COMPRESS, > + sizeof(struct crypto_report_comp), &racomp)) > + goto nla_put_failure; This bit doesn't compile for me. Please fix up and resubmit. ../crypto/crypto_user.c: In function ‘crypto_report_acomp’: ../crypto/crypto_user.c:117:29: error: storage size of ‘racomp’ isn’t known ../crypto/crypto_user.c:121:19: error: ‘CRYPTOCFGA_REPORT_ACOMPRESS’ undeclared (first use in this function) ../crypto/crypto_user.c:121:19: note: each undeclared identifier is reported only once for each function it appears in ../crypto/crypto_user.c:122:14: error: invalid application of ‘sizeof’ to incomplete type ‘struct crypto_report_acomp’ ../crypto/crypto_user.c:117:29: warning: unused variable ‘racomp’ [-Wunused-variable] Thanks, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html