Re: [PATCH] ide: Fix a theoretical Ooops case

2007-06-23 Thread Bartlomiej Zolnierkiewicz
On Friday 22 June 2007, Alan Cox wrote: > Found by a static analyser. It is in theory possible we dereference > dev->id when it has become invalid. Re-order to avoid this. > > Not needed for new-ide as we no longer support the crazy exabyte nest stuff > > Signed-off-by: Alan Cox <[EMAIL PROTECTED

[PATCH] ide: Fix a theoretical Ooops case

2007-06-22 Thread Alan Cox
Found by a static analyser. It is in theory possible we dereference dev->id when it has become invalid. Re-order to avoid this. Not needed for new-ide as we no longer support the crazy exabyte nest stuff Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /u