Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odroid 3.0.57 #7

Merged
merged 157 commits into from
Jan 8, 2013
Merged
Changes from 1 commit
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
a699cd3
ath9k: fix stale pointers potentially causing access to free'd skbs
Oct 25, 2012
4a7dfa5
rt2800: validate step value for temperature compensation
Oct 25, 2012
f100fdf
target: Don't return success from module_init() if setup fails
rolandd Oct 31, 2012
58bca02
cfg80211: fix antenna gain handling
Oct 17, 2012
4bdd5ed
wireless: drop invalid mesh address extension frames
jmberg-intel Oct 25, 2012
6f8acfd
mac80211: don't inspect Sequence Control field on control frames
Oct 25, 2012
2dda2bb
DRM/Radeon: Fix Load Detection on legacy primary DAC.
e4t Oct 24, 2012
03938ad
mac80211: check management frame header length
jmberg-intel Oct 25, 2012
9c750c9
mac80211: fix SSID copy on IBSS JOIN
Oct 26, 2012
e4648b1
nfsv3: Make v3 mounts fail with ETIMEDOUTs instead EIO on mountd time…
scottmayhew Oct 16, 2012
6fbd3cd
nfs: Show original device name verbatim in /proc/*/mount{s,info}
bwhacks Oct 21, 2012
f354d0c
NFSv4: nfs4_locku_done must release the sequence id
Oct 29, 2012
110d3a2
nfsd: add get_uint for u32's
Jun 12, 2012
095a518
NFS: fix bug in legacy DNS resolver.
neilbrown Oct 31, 2012
4d02840
NFS: Fix Oopses in nfs_lookup_revalidate and nfs4_lookup_revalidate
Aug 22, 2012
356c93d
drm: restore open_count if drm_setup fails
ihadzic Oct 29, 2012
ec1f5bf
hwmon: (w83627ehf) Force initial bank selection
Nov 5, 2012
61bc285
ALSA: PCM: Fix some races at disconnection
tiwai Nov 7, 2012
ea7b69a
ALSA: usb-audio: Fix races at disconnection
tiwai Nov 7, 2012
1456577
ALSA: usb-audio: Use rwsem for disconnect protection
tiwai Nov 7, 2012
fb434cc
ALSA: usb-audio: Fix races at disconnection in mixer_quirks.c
tiwai Nov 7, 2012
40edba6
ALSA: Add a reference counter to card instance
tiwai Nov 7, 2012
8a7173c
ALSA: Avoid endless sleep after disconnect
tiwai Nov 7, 2012
b232704
sctp: fix call to SCTP_CMD_PROCESS_SACK in sctp_cmd_interpreter()
Oct 15, 2012
fdc00ab
netlink: use kfree_rcu() in netlink_release()
Oct 18, 2012
3297d60
tcp: fix FIONREAD/SIOCINQ
Oct 18, 2012
db138ef
ipv6: Set default hoplimit as zero.
Oct 24, 2012
690bfe5
net: usb: Fix memory leak on Tx data path
Oct 25, 2012
798c7db
net: fix divide by zero in tcp algorithm illinois
netoptimizer Oct 31, 2012
5a3e425
l2tp: fix oops in l2tp_eth_create() error path
tomparkin Oct 29, 2012
2e570a4
ipv6: send unsolicited neighbour advertisements to all-nodes
strssndktn Nov 6, 2012
2f56580
futex: Handle futex_pi OWNER_DIED take over correctly
KAGA-KOKO Oct 23, 2012
d18edec
drm/vmwgfx: Fix hibernation device reset
thomashvmw Nov 9, 2012
9615dee
drm/i915: fixup infoframe support for sdvo
danvet May 12, 2012
b7832d4
drm/i915: clear the entire sdvo infoframe buffer
danvet Oct 21, 2012
87725c3
USB: mos7840: remove unused variable
jhovold Nov 8, 2012
11b34bb
xfs: fix reading of wrapped log data
Nov 2, 2012
919609d
intel-iommu: Fix AB-BA lockdep report
rolandd Jul 20, 2011
aaf238b
ALSA: Fix card refcount unbalance
tiwai Nov 8, 2012
0933714
ALSA: usb-audio: Fix mutex deadlock at disconnection
tiwai Nov 13, 2012
89d2d13
Linux 3.0.52
gregkh Nov 17, 2012
218440d
mm: bugfix: set current->reclaim_state to NULL while returning from k…
Nov 8, 2012
5a5ffbe
fanotify: fix missing break
eparis Nov 8, 2012
8493a23
crypto: cryptd - disable softirqs in cryptd_queue_worker to prevent d…
jkivilin Oct 21, 2012
57ecc1f
ALSA: hda: Cirrus: Fix coefficient index for beep configuration
Nov 1, 2012
174aad5
ALSA: hda - Force to reset IEC958 status bits for AD codecs
tiwai Nov 5, 2012
dd5df62
ASoC: wm8978: pll incorrectly configured when codec is master
Nov 2, 2012
bb71076
ASoC: dapm: Use card_list during DAPM shutdown
Nov 8, 2012
ad33dc0
UBIFS: fix mounting problems after power cuts
dedekind Oct 9, 2012
f174b32
UBIFS: introduce categorized lprops counter
dedekind Oct 10, 2012
55d60ef
s390/gup: add missing TASK_SIZE check to get_user_pages_fast()
heicarst Oct 22, 2012
5ff767d
USB: option: add Novatel E362 and Dell Wireless 5800 USB IDs
dcbw Nov 8, 2012
b67793d
USB: option: add Alcatel X220/X500D USB IDs
dcbw Nov 8, 2012
7e2c753
wireless: allow 40 MHz on world roaming channels 12/13
jmberg-intel Nov 12, 2012
345d88c
m68k: fix sigset_t accessor functions
andreas-schwab Nov 17, 2012
26aeb8b
ipv4: avoid undefined behavior in do_ip_setsockopt()
xiw Nov 11, 2012
db4bf38
ipv6: setsockopt(IPIPPROTO_IPV6, IPV6_MINHOPCOUNT) forgot to set retu…
strssndktn Nov 10, 2012
c5d6a96
net: correct check in dev_addr_del()
jpirko Nov 14, 2012
3cc4ead
net-rps: Fix brokeness causing OOO packets
Nov 16, 2012
bb976b0
r8169: use unlimited DMA burst for TX
michich Sep 9, 2012
02f7a0d
kbuild: Fix gcc -x syntax
jdelvare Oct 2, 2012
d87b26d
netfilter: Validate the sequence number of dataless ACK packets as well
Aug 31, 2012
9e8b32b
netfilter: Mark SYN/ACK packets as invalid from original direction
Aug 31, 2012
328325b
netfilter: nf_nat: don't check for port change on ICMP tuples
Oct 25, 2012
40ebcb8
usb: use usb_serial_put in usb_serial_probe errors
May 22, 2012
34396c6
eCryptfs: Copy up POSIX ACL and read-only flags from lower mount
tyhicks Jun 11, 2012
6c0e763
eCryptfs: check for eCryptfs cipher support at mount
tsally Jul 12, 2012
bb9583e
sky2: Fix for interrupt handler
pldemone Jul 3, 2012
c76fbef
drm/i915: fix overlay on i830M
danvet Oct 22, 2012
31fcdd0
NFS: Wait for session recovery to finish before returning
Oct 30, 2012
daa88cb
reiserfs: Fix lock ordering during remount
jankara Nov 13, 2012
a7b8408
reiserfs: Protect reiserfs_quota_on() with write lock
jankara Nov 13, 2012
2f21676
reiserfs: Move quota calls out of write lock
jankara Nov 13, 2012
7eebd4f
reiserfs: Protect reiserfs_quota_write() with write lock
jankara Nov 13, 2012
95eb6d3
selinux: fix sel_netnode_insert() suspicious rcu dereference
Nov 9, 2012
36720ae
PCI : ability to relocate assigned pci-resources
Jul 25, 2011
8515be6
PCI : Calculate right add_size
Jan 21, 2012
b87c48d
Resource: fix wrong resource window calculation
Sep 22, 2011
2fc3fd4
Linux 3.0.53
gregkh Nov 26, 2012
fa52e1c
ALSA: pcmcia - Use pcmcia_request_irq()
tiwai Jun 14, 2011
a0bdb13
drivers/block/DAC960: fix DAC960_V2_IOCTL_Opcode_T -Wenum-compare war…
dalgaaf Mar 2, 2012
6ce2a94
drivers/block/DAC960: fix -Wuninitialized warning
dalgaaf Mar 2, 2012
7ddaba0
riva/fbdev: fix several -Wuninitialized
dalgaaf Jan 30, 2012
ec34868
ifenslave: Fix unused variable warnings.
davem330 Nov 26, 2011
683448e
x86-32: Fix invalid stack address while in softirq
Sep 3, 2012
2be8019
x86, microcode, AMD: Add support for family 16h processors
ostr Nov 15, 2012
37fd5d3
rtlwifi: rtl8192cu: Add new USB ID
AlbertJP Oct 30, 2012
d3a11ab
mwifiex: report error to MMC core if we cannot suspend
bingz Nov 15, 2012
14de2f6
SCSI: isci: copy fis 0x34 response into proper buffer
mpatelcz Oct 15, 2012
08dc993
ALSA: ua101, usx2y: fix broken MIDI output
cladisch Oct 31, 2012
a536dd3
PARISC: fix virtual aliasing issue in get_shared_area()
Nov 2, 2012
f561b30
PARISC: fix user-triggerable panic on parisc
Nov 21, 2012
38f6449
mtd: slram: invalid checking of absolute end address
engycz Sep 20, 2012
2d7c6b7
dm: fix deadlock with request based dm and queue request_fn recursion
axboe Nov 6, 2012
beb93b1
futex: avoid wake_futex() for a PI futex_q
dvhart Nov 27, 2012
34ef0d5
mac80211: deinitialize ibss-internals after emptiness check
Nov 13, 2012
399a326
radeon: add AGPMode 1 quirk for RV250
pebolle Nov 19, 2012
f6a8d4c
can: bcm: initialize ifindex for timeouts without previous frame rece…
hartkopp Nov 26, 2012
1c4e871
jbd: Fix lock ordering bug in journal_unmap_buffer()
jankara Nov 23, 2012
bf7ef7e
sparc64: not any error from do_sigaltstack() should fail rt_sigreturn()
Nov 19, 2012
64c94de
ALSA: hda - Add new codec ALC283 ALC290 support
kailangyang Oct 6, 2012
0752069
ALSA: hda - Fix missing beep on ASUS X43U notebook
Oct 10, 2012
bbc0a18
ALSA: hda - Add support for Realtek ALC292
Nov 21, 2012
346f855
bas_gigaset: fix pre_reset handling
tilmanschmidt Oct 24, 2012
344b5bf
ixgbe: add support for X540-AT1
jahay1 Sep 21, 2012
a36eea2
sata_svw: check DMA start bit before reset
Oct 29, 2012
7daba4e
ixgbe: add support for new 82599 device
etantilov Sep 8, 2011
6d4f2ce
ixgbe: add support for new 82599 device id
etantilov Nov 4, 2011
a5c147f
get_dvb_firmware: fix download site for tda10046 firmware
Sep 28, 2012
14179cd
USB: mct_u232: fix broken close
jhovold Oct 25, 2012
872edb5
watchdog: using u64 in get_sample_period()
Chuansheng-Liu Nov 27, 2012
f7118e1
acer-wmi: support for P key on TM8372
merlinschumacher Jan 23, 2012
85f07cc
x86, mce, therm_throt: Don't report power limit and package level the…
fyu1 Nov 4, 2011
8cefc55
Input: bcm5974 - set BUTTONPAD property
Jan 11, 2012
49a66fd
mmc: sdhci-s3c: fix the wrong number of max bus clocks
Sep 19, 2012
7cd2d7c
Linux 3.0.54
gregkh Dec 3, 2012
296a041
x86-32: Export kernel_stack_pointer() for modules
Nov 21, 2012
3bbbcb1
Linux 3.0.55
gregkh Dec 6, 2012
31a2aa1
Dove: Attempt to fix PMU/RTC interrupts
Nov 18, 2012
6d62cb3
Dove: Fix irq_to_pmu()
Nov 18, 2012
8bec650
mm/vmemmap: fix wrong use of virt_to_page
Nov 29, 2012
11bcecc
mm: soft offline: split thp at the beginning of soft_offline_page()
Nov 29, 2012
cc3c85d
workqueue: exit rescuer_thread() as TASK_RUNNING
Nov 28, 2012
e86b690
Revert "sched, autogroup: Stop going ahead if autogroup is disabled"
Dec 3, 2012
bc436dd
route: release dst_entry.hh_cache when handling redirects
mkubecek Dec 4, 2012
b0ce22d
ACPI: missing break
Oct 25, 2012
4d574d2
i915: Quirk no_lvds on Gigabyte GA-D525TUD ITX motherboard
kepstin Aug 24, 2012
95b471a
drm/i915: Add no-lvds quirk for Supermicro X7SPA-H
ickle Oct 18, 2012
9012327
scsi: Silence unnecessary warnings about ioctl to partition
jankara Jun 15, 2012
4eb15b7
Linux 3.0.56
gregkh Dec 10, 2012
15a83cc
ARM: 7566/1: vfp: fix save and restore when running on pre-VFPv3 and …
Oct 23, 2012
f2a1abc
powerpc/ptrace: Fix build with gcc 4.6
ozbenh Sep 26, 2011
3ff0aec
workqueue: convert BUG_ON()s in __queue_delayed_work() to WARN_ON_ONC…
htejun Dec 4, 2012
b9f21c2
mm: dmapool: use provided gfp flags for all dma_alloc_coherent() calls
mszyprow Nov 7, 2012
cde5ccf
x86,AMD: Power driver support for AMD's family 16h processors
ostr Dec 5, 2012
d2e0863
telephony: ijx: buffer overflow in ixj_write_cid()
Dec 3, 2012
15487eb
tmpfs: fix shared mempolicy leak
Dec 5, 2012
29a4f06
x86: hpet: Fix masking of MSI interrupts
jbeulich Nov 2, 2012
1d28af1
USB: add new zte 3g-dongle's pid to option.c
Nov 20, 2012
ea337d3
USB: option: blacklist network interface on Huawei E173
bmork Nov 25, 2012
3ffab0b
USB: ftdi_sio: Add support for Newport AGILIS motor drivers
tecki Nov 21, 2012
d57cab5
usb: ftdi_sio: fixup BeagleBone A5+ quirk
jacmet Nov 22, 2012
f1ac973
USB: cp210x: add Virtenio Preon32 device id
markushx Nov 22, 2012
092082a
USB: mark uas driver as BROKEN
gregkh Nov 28, 2012
fd013d7
ACPI / battery: Correct battery capacity values on Thinkpads
Nov 16, 2012
cb2bf59
ACPI / PNP: Do not crash due to stale pointer use during system resume
rafaeljw Nov 30, 2012
ffedea0
ACPI / video: ignore BIOS initial backlight value for HP Folio 13-2000
zhang-rui Dec 4, 2012
e22045d
USB: OHCI: workaround for hardware bug: retired TDs not added to the …
AlanStern Nov 26, 2012
dadc9f9
xhci: Extend Fresco Logic MSI quirk.
Oct 17, 2012
7a09a2f
ftrace: Clear bits properly in reset_iter_read()
Jun 9, 2012
1758e55
powerpc: Update DSCR on all CPUs when writing sysfs dscr_default
antonblanchard Sep 3, 2012
3882a18
powerpc: Keep thread.dscr and thread.dscr_inherit in sync
antonblanchard Sep 3, 2012
881c0a0
Linux 3.0.57
gregkh Dec 17, 2012
5cc0121
Merge branch 'linux-3.0.57' into 3.0.57
zehome Jan 7, 2013
91b575c
Error in conflict merge from 3.0.57
zehome Jan 7, 2013
5da18a7
Add comment to SMSC permanant macaddress for odroid
zehome Jan 7, 2013
b2417fd
Merge branch 'odroid-3.0.y' into odroid-3.0.57
zehome Jan 8, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
usb: use usb_serial_put in usb_serial_probe errors
commit 0658a33 upstream.

The use of kfree(serial) in error cases of usb_serial_probe
was invalid - usb_serial structure allocated in create_serial()
gets reference of usb_device that needs to be put, so we need
to use usb_serial_put() instead of simple kfree().

Signed-off-by: Jan Safrata <jan.nikitenko@gmail.com>
Acked-by: Johan Hovold <jhovold@gmail.com>
Cc: Richard Retanubun <richardretanubun@ruggedcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Jan Safrata authored and gregkh committed Nov 26, 2012
commit 40ebcb89e6c84b5a5aca74d8df26705663a24598
6 changes: 3 additions & 3 deletions drivers/usb/serial/usb-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ int usb_serial_probe(struct usb_interface *interface,

if (retval) {
dbg("sub driver rejected device");
kfree(serial);
usb_serial_put(serial);
module_put(type->driver.owner);
return retval;
}
Expand Down Expand Up @@ -836,7 +836,7 @@ int usb_serial_probe(struct usb_interface *interface,
*/
if (num_bulk_in == 0 || num_bulk_out == 0) {
dev_info(&interface->dev, "PL-2303 hack: descriptors matched but endpoints did not\n");
kfree(serial);
usb_serial_put(serial);
module_put(type->driver.owner);
return -ENODEV;
}
Expand All @@ -850,7 +850,7 @@ int usb_serial_probe(struct usb_interface *interface,
if (num_ports == 0) {
dev_err(&interface->dev,
"Generic device with no bulk out, not allowed.\n");
kfree(serial);
usb_serial_put(serial);
module_put(type->driver.owner);
return -EIO;
}
Expand Down