summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-08-27 12:03:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-07 21:49:32 -0700
commit902ecc26fc6deb3b53d85496d53029777ddeecba (patch)
treeec1ae07ff44c8a26f590b8d61f960db671918f25 /net/lapb/lapb_timer.c
parent59fb9f6b1f98c9ab912bbac7b55ba5bc2e40750b (diff)
ALSA: opti9xx: Fix conflicting driver object name
commit fb615499f0ad28ed74201c1cdfddf9e64e205424 upstream. The recent commit to delay the release of kobject triggered NULL dereferences of opti9xx drivers. The cause is that all snd-opti92x-ad1848, snd-opti92x-cs4231 and snd-opti93x drivers register the PnP card driver with the very same name, and also snd-opti92x-ad1848 and -cs4231 drivers register the ISA driver with the same name, too. When these drivers are built in, quick "register-release-and-re-register" actions occur, and this results in Oops because of the same name is assigned to the kobject. The fix is simply to assign individual names. As a bonus, by using KBUILD_MODNAME, the patch reduces more lines than it adds. The fix is based on the suggestion by Russell King. Reported-and-tested-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions