Re: [GIT PULL] KEYS: Changes for keyrings for security/next
From: David Howells
Date: Sat Sep 20 2014 - 08:08:46 EST
James Morris <jmorris@xxxxxxxxx> wrote:
> I'm getting this warning after pulling your code:
>
> CC crypto/hash_info.o
> crypto/asymmetric_keys/asymmetric_type.c: In function
> asymmetric_key_hex_to_key_id:
> crypto/asymmetric_keys/asymmetric_type.c:110: warning: ignoring return
> value of hex2bin, declared with attribute warn_unused_result
I don't see that with my compiler for some reason. I'm not sure what to do
about it even so. I don't need to check the result of hex2bin because I've
done all the checks required before allocating the buffer for hex2bin to write
into. I could remove the attribute from hex2bin(), I suppose.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/