Summary: | linux/byteorder/*_endian.h cannot be used outside kernel builds | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Sisyphus | Reporter: | Mikhail Zabaluev <mhz> | ||||||
Component: | kernel-headers-std26-up | Assignee: | Anton Farygin <rider> | ||||||
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus | ||||||
Severity: | normal | ||||||||
Priority: | P2 | ||||||||
Version: | unstable | ||||||||
Hardware: | all | ||||||||
OS: | Linux | ||||||||
Attachments: |
|
Description
Mikhail Zabaluev
2004-10-27 19:58:40 MSD
Created attachment 621 [details]
The testcase C source file
Created attachment 622 [details]
Proposed patch
This patch has been tested against:
the testcase above;
gnome-vfs 2.8.x.
fixed (2.6.9-alt11) Any chance it goes upstream? The patch in question also breaks build: $ rpmbuild -bc hdparm.spec [...] hdparm.c:1315: warning: implicit declaration of function '__le16_to_cpus' hdparm.c:1315: warning: nested extern declaration of '__le16_to_cpus' cc -o hdparm hdparm.o identify.o hdparm.o: In function `process_dev': hdparm.c:(.text+0x1a4f): undefined reference to `__le16_to_cpus' hdparm.o: In function `main': hdparm.c:(.text+0x3791): undefined reference to `__le16_to_cpus' collect2: ld returned 1 exit status make: *** [hdparm] Error 1 Broken patch removed in std26-2.6.16-alt11; let's see what breaks without it... |