lkml.org 
[lkml]   [2000]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectMultiple warnings when compiling network driver in 2.4.0-test9
Date
Hello,

While trying to compile a network driver for 2.4.0-test9 (+kdb-v1.5,
configured for UP) I'm getting multiple warnings:
/usr/src/linux/include/linux/sched.h:700: warning: can't inline call
to `__mmdrop'
/usr/src/linux/include/linux/sched.h:704: warning: called from here

This happens for every kernel header I try to use such as netdevice.h,
skbuff.h, malloc.h and pci.h
Each of those header files includes slab.h (line 14) that includes mm.h
(line 4) that includes sched.h which contains the following on line 700:

700: extern inline void FASTCALL(__mmdrop(struct mm_struct *));
701: static inline void mmdrop(struct mm_struct * mm)
702: {
703: if (atomic_dec_and_test(&mm->mm_count))
704: __mmdrop(mm);
705: }

My make file uses the following flags:
gcc -fomit-frame-pointer -Wall -Wstrict-prototypes -Winline -O3
-D__KERNEL__ -DMODULE -DDEBUG -DMODVERSIONS -I/usr/src/linux/include

Can anyone tell me what this warning means and if I can safely ignore it (or
expect disaster) ?


Thanks,

Shmulik Hen,
Software Engineer
Linux Advanced Networking Services
Network Communications Group, Israel (NCGj)
Intel Corporation Ltd.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:45    [W:0.021 / U:0.472 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site