login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
2
Re: [PATCH -next] pktcdvd: improve BKL and compat_ioctl.c usage
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Ingo Molnar
Subject:
Re: [PATCH -next] pktcdvd: improve BKL and compat_ioctl.c usage
Date: Tuesday, March 2, 2010 - 5:06 am
* Randy Dunlap <randy.dunlap@oracle.com> wrote:
quoted text
> On 02/25/10 13:27, Arnd Bergmann wrote: > > The pktcdvd driver uses proper locking and does not need the > > BKL in the ioctl and llseek functions of the character device, > > so kill both. Moving the compat_ioctl handling from common code > > into the driver itself fixes build problems when CONFIG_BLOCK is > > disabled. > > > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > > > > --- > > On Thursday 25 February 2010, Randy Dunlap wrote: > >> From: Randy Dunlap <randy.dunlap@oracle.com> > >> > >> fs/compat_ioctl.c should omit pktcdvd.h and its ioctl when CONFIG_BLOCK > >> is not enabled. This fixes these build errors: > >> > >> In file included from fs/compat_ioctl.c:105: > >> include/linux/pktcdvd.h:166: error: field 'read_queue' has incomplete type > >> include/linux/pktcdvd.h:167: error: field 'write_queue' has incomplete type > >> include/linux/pktcdvd.h:207: error: field 'orig_bios' has incomplete type > >> make[2]: *** [fs/compat_ioctl.o] Error 1 > > > > How about this one instead, cleaning pktcdvd ioctl handling up for good? > > OK, that works too. > > Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
FYI, this build bug now triggers upstream too - none of the fixes was applied. Ingo --
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:
linux-next: Tree for February 25
, Stephen Rothwell
, (Thu Feb 25, 12:35 am)
Re: linux-next: Tree for February 25 (quota)
, Randy Dunlap
, (Thu Feb 25, 10:21 am)
[PATCH -next] fs: fix compat_ioctl when CONFIG_BLOCK=n
, Randy Dunlap
, (Thu Feb 25, 10:55 am)
[PATCH -next] pktcdvd: improve BKL and compat_ioctl.c usage
, Arnd Bergmann
, (Thu Feb 25, 2:27 pm)
Re: [PATCH -next] pktcdvd: improve BKL and compat_ioctl.c ...
, Randy Dunlap
, (Thu Feb 25, 3:10 pm)
Re: linux-next: Tree for February 25 (quota)
, Jan Kara
, (Mon Mar 1, 6:27 am)
Re: linux-next: Tree for February 25 (quota)
, Randy Dunlap
, (Mon Mar 1, 9:56 am)
Re: [PATCH -next] pktcdvd: improve BKL and compat_ioctl.c ...
, Ingo Molnar
, (Tue Mar 2, 5:06 am)
Re: [PATCH -next] pktcdvd: improve BKL and compat_ioctl.c ...
, Stephen Rothwell
, (Tue Mar 2, 4:38 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices
openbsd-misc
:
Theo de Raadt
Re: Old IPSEC bug
Tomáš Bodžár
Problem with vpnc connection - check group