lkml.org 
[lkml]   [2014]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [GIT PULL] KEYS: Changes for keyrings for security/next
Date
James Morris <jmorris@namei.org> 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


\
 
 \ /
  Last update: 2014-09-20 14:41    [W:0.059 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site