]> git.baikalelectronics.ru Git - kernel.git/commit
hpt366: fix kernel oops with HPT302N
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 20 Apr 2007 20:16:58 +0000 (22:16 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 20 Apr 2007 20:16:58 +0000 (22:16 +0200)
commitee8a55c4660aabf54e397c2e7cc7294f00752a9e
treec3ecdb5d0ab3962ba8e938dcb0fa52bc85c3b056
parent2e84c64b02164e046690351a5d6f4cd8e1d5e27f
hpt366: fix kernel oops with HPT302N

The driver crashes the kernel on HPT302N chips due to the missing initializer
for 'hpt302n.settings' having been unfortunately overlooked so far. :-<

Much thanks to Mike Mattie for pin-pointing the reason of crash.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/hpt366.c