[LinuxPPS] Re: [PATCH 1/1] LinuxPPS: Pulse per Second support
for Linux
Udo van den Heuvel
udovdh at xs4all.nl
Sat May 12 13:48:33 CEST 2007
Udo van den Heuvel wrote:
> Now, what can I do to fix?
Looking at stuff at http://www.linuxjournal.com/node/7356/print and of
course the sources I changed
static int __init pps_init(void)
{
int ret;
nl_sk = netlink_kernel_create(NETLINK_PPSAPI,
pps_nl_data_ready, NULL,
THIS_MODULE);
//nl_sk = netlink_kernel_create(NETLINK_PPSAPI, 0,
// pps_nl_data_ready, NULL,
THIS_MODULE);
(yes, I only removed the 0 for now) which gives me:
CC drivers/pps/pps.o
drivers/pps/pps.c: In function âpps_initâ:
drivers/pps/pps.c:339: warning: passing argument 2 of
ânetlink_kernel_createâ makes integer from pointer without a cast
So, is this OK?
More information about the LinuxPPS
mailing list