Commit 90a0d9f
iwlwifi: Add missing check for alloc_ordered_workqueue
Add check for the return value of alloc_ordered_workqueue since it may
return NULL pointer.
Fixes: b481de9 ("[IWLWIFI]: add iwlwifi wireless drivers")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://patch.msgid.link/20230110014848.28226-1-jiasheng@iscas.ac.cn
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>1 parent ed2e916 commit 90a0d9f
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1048 | 1048 | | |
1049 | 1049 | | |
1050 | 1050 | | |
1051 | | - | |
| 1051 | + | |
1052 | 1052 | | |
1053 | 1053 | | |
| 1054 | + | |
| 1055 | + | |
1054 | 1056 | | |
1055 | 1057 | | |
1056 | 1058 | | |
| |||
1067 | 1069 | | |
1068 | 1070 | | |
1069 | 1071 | | |
| 1072 | + | |
| 1073 | + | |
1070 | 1074 | | |
1071 | 1075 | | |
1072 | 1076 | | |
| |||
1461 | 1465 | | |
1462 | 1466 | | |
1463 | 1467 | | |
1464 | | - | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
1465 | 1471 | | |
1466 | 1472 | | |
1467 | 1473 | | |
| |||
1500 | 1506 | | |
1501 | 1507 | | |
1502 | 1508 | | |
| 1509 | + | |
1503 | 1510 | | |
1504 | 1511 | | |
1505 | 1512 | | |
| |||
0 commit comments