This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: systemtap test suite compilation failed: runtime/vma.c :133:21: error: pointer targets in initialization differ in signedness


On 02/03/2014 01:38 AM, Naresh Kamboju wrote:
> Re-sending it as plan-text mode. (sorry)
> 
>> **** failed systemtap kernel-devel smoke test:
>>
>> In file included from /usr/local/share/systemtap/runtime/sym.c:16:0,
>> from /usr/local/share/systemtap/runtime/linux/runtime.h:198,
>> from /usr/local/share/systemtap/runtime/runtime.h:24,
>> from /tmp/stapvEzrD5/stap_f7468ebd0051d533d2bae853173fe5a7_892_src.c:24:
>> /usr/local/share/systemtap/runtime/vma.c: In function '_stp_vma_mmap_cb':
>> /usr/local/share/systemtap/runtime/vma.c:133:21: error: pointer targets in initialization differ in signedness [-Werror=pointer-sign]
>> const char *name = (dentry != NULL) ? dentry->d_name.name : NULL;
>> ^

I'm not sure why you are seeing this error but I'm not, but I committed
a cast that should fix it.

-- 
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]