login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
12
Re: [PATCH] usb: fix unterminated usn_device_id lists
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jeff Garzik <jeff@...>
To: Kees Cook <kees@...>
Cc: <linux-kernel@...>, Ben Collins <bcollins@...>
Subject:
Re: [PATCH] usb: fix unterminated usn_device_id lists
Date: Wednesday, September 12, 2007 - 9:15 pm
Kees Cook wrote:
quoted text
> This patch against 2.6.23-rc6 fixes a unterminated list of USB device ids. > > Signed-off-by: Kees Cook <kees@ubuntu.com> > --- > linux-2.6.23-rc6/drivers/media/video/usbvision/usbvision-cards.c | 1 + > 1 file changed, 1 insertion(+) > --- > diff -urp -x '*.o' linux-2.6.23-rc6~/drivers/media/video/usbvision/usbvision-cards.c linux-2.6.23-rc6/drivers/media/video/usbvision/usbvision-cards.c > --- linux-2.6.23-rc6~/drivers/media/video/usbvision/usbvision-cards.c 2007-09-11 23:17:19.000000000 -0700 > +++ linux-2.6.23-rc6/drivers/media/video/usbvision/usbvision-cards.c 2007-09-12 17:26:46.000000000 -0700 > @@ -1081,6 +1081,7 @@ struct usb_device_id usbvision_table [] > { USB_DEVICE(0x2304, 0x0301), .driver_info=PINNA_LINX_VD_IN_CAB_PAL }, > { USB_DEVICE(0x2304, 0x0419), .driver_info=PINNA_PCTV_BUNGEE_PAL_FM }, > { USB_DEVICE(0x2400, 0x4200), .driver_info=HPG_WINTV }, > + { 0, },
FWIW I (and several drivers) tend to prefer the more clean version, { }, or even { }, /* terminate list */ Regards, Jeff -
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:
[PATCH] usb: fix unterminated usn_device_id lists
, Kees Cook
, (Wed Sep 12, 8:47 pm)
Re: [PATCH] usb: fix unterminated usn_device_id lists
, Jeff Garzik
, (Wed Sep 12, 9:15 pm)
Re: [PATCH] usb: fix unterminated usn_device_id lists
, Kees Cook
, (Wed Sep 12, 11:54 pm)
Re: [PATCH] usb: fix unterminated usn_device_id lists
, Jeff Garzik
, (Thu Sep 13, 12:02 am)
[PATCHv2] misc: fix unterminated *_device_id lists
, Kees Cook
, (Thu Sep 13, 12:45 am)
Re: [PATCHv2] misc: fix unterminated *_device_id lists
, Jeff Garzik
, (Thu Sep 13, 1:09 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
-mm merge plans for 2.6.23
Chuck Ebbert
Why do so many machines need "noapic"?
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Greg Kroah-Hartman
[PATCH 023/196] MCP_UCB1200: Convert from class_device to device
git
:
linux-netdev
:
David Miller
Re: [BUG] New Kernel Bugs
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 31/37] dccp: Remove manual influence on NDP Count feature
Gregory Haskins
[RFC PATCH 00/17] virtual-bus
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
883 guests
online.
Online users
K-Z
zeekec
fatlossqueen67
netmarketing2
Syndicate