diff options
author | 2009-03-24 23:22:54 +0100 | |
---|---|---|
committer | 2009-03-24 23:22:54 +0100 | |
commit | 2f40c9b0b65b5635e2e13dfa068bd56fe7a8ff98 (patch) | |
tree | f2ac83e1b59fb7cefde88455882817a2af99dbe4 /include | |
parent | mn10300: remove <asm/ide.h> (diff) | |
download | wireguard-linux-2f40c9b0b65b5635e2e13dfa068bd56fe7a8ff98.tar.xz wireguard-linux-2f40c9b0b65b5635e2e13dfa068bd56fe7a8ff98.zip |
ide: fix kmalloc() failure handling in ide_driveid_update()
* Doing kmalloc() in the middle of command execution is not only ugly
but leaves drive waiting to send data on kmalloc() failure. Fix it.
While at it:
* Unify error code paths.
* Fixup error message to be more useful and add missing KERN_ERR level.
* Rename 'stat' variable to 's'.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions