This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: systemtap test suite compilation failed: include/linux/sysfs.h:449:2: argument 2 of 'kernfs_find_and_get' differ in signedness
- From: Josh Stone <jistone at redhat dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>, Naresh Kamboju <naresh dot kamboju at linaro dot org>
- Cc: systemtap at sourceware dot org, Fathi Boudra <fathi dot boudra at linaro dot org>, Milosz Wasilewski <milosz dot wasilewski at linaro dot org>
- Date: Mon, 21 Apr 2014 09:20:42 -0700
- Subject: Re: systemtap test suite compilation failed: include/linux/sysfs.h:449:2: argument 2 of 'kernfs_find_and_get' differ in signedness
- Authentication-results: sourceware.org; auth=none
- References: <CA+G9fYsK+vVdKK+HGArP8B2SKTEys66ZsFypqisSoV9iXiRCcA at mail dot gmail dot com> <y0mk3aipy3w dot fsf at fche dot csb>
On 04/21/2014 07:15 AM, Frank Ch. Eigler wrote:
> Naresh Kamboju <naresh.kamboju@linaro.org> writes:
>
>> [...]
>> The systemtap test suite compilation failed with below error.
>
> None of these errors appears to be triggered by systemtap code, but
> appear to represent problems in the kernel sources / configury.
It's true, we don't even call sysfs_get_dirent. It does have a
signedness issue though, and our added -Werror doesn't help matters.
It's odd to see a warning for an unused function though. Do the Linaro
patches add a call to this somewhere?