On Sun, 17 Feb 2008, Bartlomiej Zolnierkiewicz wrote:
if that header file isn't used by any kernel code, why bother having a
check for __KERNEL__ in the first place? it's being exported to
userspace unchecked:
include/linux/Kbuild:header-y += hdsmart.h
so why not just toss that check entirely? otherwise, you're going to
get a header file exported to userspace that has a superfluous
__KERNEL__ test in it.
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
--