login
Login
/
Register
Search
Header Space
Forums
News
Jobs
Blogs
Features
Man Pages
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
21
Re: Commit 270637abff0cdf848b910b9f96ad342e1da61c66 introduced a lot new compiler warnings
view
thread
Score:
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Gabriel C <nix.or.die@...>
To: David Miller <davem@...>
Cc: <linux-kernel@...>, <vladislav.yasevich@...>, <sri@...>, <netdev@...>
Subject:
Re: Commit 270637abff0cdf848b910b9f96ad342e1da61c66 introduced a lot new compiler warnings
Date: Friday, March 21, 2008 - 7:07 pm
David Miller wrote:
quoted text
> From: Gabriel C <nix.or.die@googlemail.com> > Date: Fri, 21 Mar 2008 20:11:18 +0100 > >> I noticed the following new compile warnings on current git head introduced by 270637abff0cdf848b910b9f96ad342e1da61c66 : > > Please include
netdev@vger.kernel.org
for networking bug > reports in the future, thank you.
I usually do that and to be honest I thought I did , damn fingers. Really sorry.
quoted text
> > Thanks for the report, I'll push the following fix: > > commit 1233823b0847190976d69a86d7bb1287992ba2c7 > Author: David S. Miller <davem@davemloft.net> > Date: Fri Mar 21 15:40:47 2008 -0700 > > [SCTP]: Fix build warnings with IPV6 disabled. > > Introduced by 270637abff0cdf848b910b9f96ad342e1da61c66 > ("[SCTP]: Fix a race between module load and protosw access") > > Reported by Gabriel C: > > In file included from net/sctp/sm_statetable.c:50: > include/net/sctp/sctp.h: In function 'sctp_v6_pf_init': > include/net/sctp/sctp.h:392: warning: 'return' with a value, in function returning void > In file included from net/sctp/sm_statefuns.c:62: > include/net/sctp/sctp.h: In function 'sctp_v6_pf_init': > include/net/sctp/sctp.h:392: warning: 'return' with a value, in function returning void > ... > > Signed-off-by: David S. Miller <davem@davemloft.net> > > diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h > index 57ed3e3..ea80673 100644 > --- a/include/net/sctp/sctp.h > +++ b/include/net/sctp/sctp.h > @@ -389,7 +389,7 @@ void sctp_v6_del_protocol(void); > > #else /* #ifdef defined(CONFIG_IPV6) */ > > -static inline void sctp_v6_pf_init(void) { return 0; } > +static inline void sctp_v6_pf_init(void) { return; } > static inline void sctp_v6_pf_exit(void) { return; } > static inline int sctp_v6_protosw_init(void) { return 0; } > static inline void sctp_v6_protosw_exit(void) { return; } >
It fixes all warnings , thx. Gabriel --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
Commit 270637abff0cdf848b910b9f96ad342e1da61c66 introduced a...
, Gabriel C
, (Fri Mar 21, 3:11 pm)
Re: Commit 270637abff0cdf848b910b9f96ad342e1da61c66 introduc...
, David Miller
, (Fri Mar 21, 6:43 pm)
Re: Commit 270637abff0cdf848b910b9f96ad342e1da61c66 introduc...
, Gabriel C
, (Fri Mar 21, 7:07 pm)
Navigation
Create content
Mailing list archives
Recent posts
Mail archive search
Enter your search terms.
all mailing lists
alsa-devel
dragonflybsd-bugs
dragonflybsd-commit
dragonflybsd-docs
dragonflybsd-kernel
dragonflybsd-submit
dragonflybsd-user
freebsd-announce
freebsd-bugs
freebsd-chat
freebsd-cluster
freebsd-current
freebsd-drivers
freebsd-embeded
freebsd-fs
freebsd-hackers
freebsd-hardware
freebsd-mobile
freebsd-net
freebsd-performance
freebsd-pf
freebsd-security
freebsd-security-notifications
freebsd-threads
git
git-commits-head
linux-activists
linux-arm
linux-ath5k-devel
linux-btrfs
linux-c-programming
linux-driver-devel
linux-ext4
linux-fsdevel
linux-ia64
linux-input
linux-kernel
linux-kernel-janitors
linux-kernel-mentors
linux-kernel-newbies
linux-kvm
linux-net
linux-netdev
linux-newbie
linux-nfs
linux-raid
linux-scsi
linux-security-module
linux-sparse
linux-usb
linux-usb-devel
madwifi-devel
netbsd-announce
netbsd-tech-kern
openbsd-announce
openbsd-bugs
openbsd-ipv6
openbsd-misc
openbsd-security-announce
openbsd-smp
openbsd-source-changes
openbsd-tech
openfabrics-general
openmoko-community
openmoko-devel
openmoko-kernel
reiserfs-devel
tux3
ucarp
Optionally limit your search to a specific mailing list.
advanced
Popular discussions
linux-kernel
:
Jeremy Fitzhardinge
Re: [RFC 00/15] x86_64: Optimize percpu accesses
jmerkey
[ANNOUNCE] mdb: Merkey's Linux Kernel Debugger 2.6.27-rc4 released
Greg Kroah-Hartman
[PATCH 021/196] ISDN: Convert from class_device to device for ISDN capi
Ingo Molnar
Re: [PATCH 00/23] per device dirty throttling -v8
git
:
Linus Torvalds
Re: VCS comparison table
Peter Stahlir
Git as a filesystem
Johannes Schindelin
Re: git on MacOSX and files with decomposed utf-8 file names
Bill Lear
Meaning of "fatal: protocol error: bad line length character"?
openbsd-misc
:
Mayuresh Kathe
Re: What is our ultimate goal??
Richard Stallman
Real men don't attack straw men
bofh
Re: web development on OpenBSD
Kevin
uvm_mapent_alloc: out of static map entries on 4.3 i386
linux-netdev
:
Mark Lord
Re: 2.6.25-rc8: FTP transfer errors
Evgeniy Polyakov
Re: [BUG] New Kernel Bugs
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Andi Kleen
[PATCH RFC] [1/9] Core module symbol namespaces code and intro.
Latest forum posts
trouble with my Asus Mainboard
1 hour ago
Linux kernel
windows folder creation surprise
3 hours ago
Windows
Random kernel panic with PPP in 2.6.16.26 kernel
3 hours ago
Linux kernel
sata/ide timeout errors on asus server-mb
8 hours ago
Linux kernel
Resetting the bios password for Toshiba Laptop
12 hours ago
Hardware
Testing for EXT3 filesystem corruption
1 day ago
Linux kernel
Easter Eggs in windows XP
1 day ago
Windows
The state of Linux audio
1 day ago
Linux kernel
reading and writing to configuration register of PCI device
1 day ago
Linux kernel
[HFSX] how to read HFSX partion label
2 days ago
Linux general
Show all forums...
Recent Tags
performance
git 1.6.0
HAMMER
Ingo Molnar
security
quote
git
64-bit
Linux
Junio Hamano
Tux3
ufs
Daniel Phillips
ZFS
Rik van Riel
ext3
filesystem
Linus Torvalds
git 1.6
mailing lists
more tags
Colocation donated by:
Who's online
There are currently
5 users
and
919 guests
online.
Online users
Mr_Z
Jeremy
strcmp
espenfjo
zeekec
Syndicate
speck-geostationary