Commit 7dbe3aa
scsi: fnic: Return appropriate error code for mem alloc failure
Return appropriate error code from fnic_probe when memory create slab pool
fails. Fix bug report.
Suggested-by: Dan Carpenter <[email protected]>
Reviewed-by: Sesidhar Baddela <[email protected]>
Reviewed-by: Arulprabhu Ponnusamy <[email protected]>
Reviewed-by: Gian Carlo Boffa <[email protected]>
Reviewed-by: Arun Easi <[email protected]>
Signed-off-by: Karan Tilak Kumar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 0620efe commit 7dbe3aa
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
888 | 888 | | |
889 | 889 | | |
890 | 890 | | |
891 | | - | |
| 891 | + | |
| 892 | + | |
892 | 893 | | |
| 894 | + | |
893 | 895 | | |
894 | 896 | | |
895 | 897 | | |
896 | | - | |
| 898 | + | |
| 899 | + | |
897 | 900 | | |
| 901 | + | |
898 | 902 | | |
899 | 903 | | |
900 | 904 | | |
901 | | - | |
| 905 | + | |
| 906 | + | |
902 | 907 | | |
| 908 | + | |
903 | 909 | | |
904 | 910 | | |
905 | 911 | | |
906 | 912 | | |
907 | | - | |
| 913 | + | |
| 914 | + | |
908 | 915 | | |
| 916 | + | |
909 | 917 | | |
910 | 918 | | |
911 | 919 | | |
| |||
0 commit comments