]> git.baikalelectronics.ru Git - kernel.git/commit
esas2r: fix an oversight in setting return value
authorTomas Henzl <thenzl@redhat.com>
Sun, 16 Nov 2014 13:35:34 +0000 (14:35 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 25 Nov 2014 14:42:52 +0000 (15:42 +0100)
commite832cfdbbdf7482cf009c300257041c0097601dc
tree5aa7c5f3db01c042acf231a9b48fa4c6c297ae32
parentb33d7dbf7b7e7760bd1ff4c4cccdb50eacb901f6
esas2r: fix an oversight in setting return value

The patch moves an error code assigment to a 'default' case
in the previous switch statement.

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: Bradley Grove <bgrove@attotech.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/esas2r/esas2r_ioctl.c