login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
12
Re: hci_sock.c build failure
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Coly Li
Subject:
Re: hci_sock.c build failure
Date: Wednesday, September 12, 2007 - 7:20 am
David Miller 写道:
quoted text
> From: Greg KH <greg@kroah.com> > Date: Wed, 12 Sep 2007 05:02:53 -0700 > >> It's not even a randconfig issue, my build dies too (this is Linus's >> current tree.) >> >> Time to poke through the 10 bluetooth patches that were just added... > > I'll push the following fix to Linus. > > From 1da97f83a843f92678b614fcaebdb3e4ebd6c9dd Mon Sep 17 00:00:00 2001 > From: David S. Miller <davem@kimchee.(none)> > Date: Wed, 12 Sep 2007 14:10:58 +0200 > Subject: [PATCH] [BLUETOOTH]: Fix non-COMPAT build of hci_sock.c > > Signed-off-by: David S. Miller <davem@davemloft.net> > --- > net/bluetooth/hci_sock.c | 7 ++++--- > 1 files changed, 4 insertions(+), 3 deletions(-) > > diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c > index d16ca8e..5ccea5f 100644 > --- a/net/bluetooth/hci_sock.c > +++ b/net/bluetooth/hci_sock.c > @@ -348,16 +348,17 @@ static inline void hci_sock_cmsg(struct sock *sk, struct msghdr *msg, struct sk_ > > skb_get_timestamp(skb, &tv); > > + data = &tv; > + len = sizeof(tv); > +#ifdef CONFIG_COMPAT > if (msg->msg_flags & MSG_CMSG_COMPAT) { > struct compat_timeval ctv; > ctv.tv_sec = tv.tv_sec; > ctv.tv_usec = tv.tv_usec; > data = &ctv; > len = sizeof(ctv);
should we consider the condition that msg->msg_flags & MSG_CMSG_COMPAT comes to true when CONFIG_COMPAT is not defined ?
quoted text
> - } else { > - data = &tv; > - len = sizeof(tv); > } > +#endif > > put_cmsg(msg, SOL_HCI, HCI_CMSG_TSTAMP, len, data); > }
-
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:
hci_sock.c build failure
, Andre Haupt
, (Wed Sep 12, 2:29 am)
Re: hci_sock.c build failure
, Greg KH
, (Wed Sep 12, 5:02 am)
Re: hci_sock.c build failure
, Greg KH
, (Wed Sep 12, 5:04 am)
Re: hci_sock.c build failure
, Greg KH
, (Wed Sep 12, 5:07 am)
Re: hci_sock.c build failure
, caglar
, (Wed Sep 12, 5:10 am)
Re: hci_sock.c build failure
, David Miller
, (Wed Sep 12, 5:12 am)
Re: hci_sock.c build failure
, David Miller
, (Wed Sep 12, 5:13 am)
Re: hci_sock.c build failure
, David Miller
, (Wed Sep 12, 5:14 am)
Re: hci_sock.c build failure
, Robert P. J. Day
, (Wed Sep 12, 5:16 am)
Re: hci_sock.c build failure
, Coly Li
, (Wed Sep 12, 7:20 am)
Re: hci_sock.c build failure
, Coly Li
, (Wed Sep 12, 7:26 am)
Re: hci_sock.c build failure
, Marcel Holtmann
, (Wed Sep 12, 9:20 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mathieu Desnoyers
[PATCH 01/10] local_t : architecture independant extension
Ingo Molnar
Re: 2.6.20-rc6-mm3
monstr
[PATCH 46/56] microblaze_v2: headers files entry.h current.h mman.h registers.h se...
alan
Re: Versioning file system
Jan Engelhardt
Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)
git
:
Andy Parkins
git-fetch fails with error code 128
Johannes Sixt
Re: [PATCH v2 04/13] Teach rebase interactive the mark command
Yakov Lerner
Re: Autoconf/Automake
Miklos Vajna
Re: [IRC/patches] Failed octopus merge does not clean up
Johannes Sixt
Re: [msysGit] [PATCH 01/12] Fake reencoding success under NO_ICONV instead of retu...
linux-netdev
:
jamal
[net-next-2.6 PATCH 1/7] xfrm: introduce basic mark infrastructure
jamal
[net-next-2.6 PATCH 0/7] xfrm by MARK
Timo Teräs
ip xfrm policy semantics
Jeff Garzik
Re: [PATCH 1/5] sky2: phy setup changes
Ken-ichirou MATSUZAWA
Re: [PATCH] don't touch bridge sysfs in container.
git-commits-head
:
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
MIPS: SMTC: Fix lockup in smtc_distribute_timer
Linux Kernel Mailing List
V4L/DVB (13840): smsusb: Add ISDB-T firmware for Hauppauge WinTV-Nova-T-MiniStick
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
openbsd-misc
:
Marco Peereboom
Re: Defending OpenBSD Performance
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Damon Schultz
Routing iTunes sharing across subnets using OpenBSD
Ashraf Cotu
Je sur comptable a la banque BCB je vais virée $6.million a la etranger
Chris Black
Re: carp, 2 router
Colocation donated by:
Syndicate