... | ... | ||
---|---|---|---|
3 | pointer dereference. | 3 | pointer dereference. |
4 | 4 | ||
5 | Add NULL check after devm_kasprintf() to prevent this issue. | 5 | Add NULL check after devm_kasprintf() to prevent this issue. |
6 | 6 | ||
7 | Fixes: f86b77583d88 ("backlight: pm8941: Convert to using %pOFn instead of device_node.name") | 7 | Fixes: f86b77583d88 ("backlight: pm8941: Convert to using %pOFn instead of device_node.name") |
8 | Signed-off-by: Henry Martin <bsdhenrymartin@gmail.com> | ||
8 | Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | 9 | Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> |
9 | Signed-off-by: Henry Martin <bsdhenrymartin@gmail.com> | 10 | Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org> |
10 | --- | 11 | --- |
12 | V3 -> V4: No functional changes, just correcting the version number | ||
11 | V2 -> V3: Correct commit meessage and confirm this patch has considered | 13 | V2 -> V3: Correct commit meessage and confirm this patch has considered |
12 | resource cleanup to avoid any subsequent issues, ensuring that errors | 14 | resource cleanup to avoid any subsequent issues, ensuring that errors |
13 | are handled properly and no resources are left in an inconsistent | 15 | are handled properly and no resources are left in an inconsistent |
14 | state. | 16 | state. |
15 | V1 -> V2: Fix commit message to use imperative mood and wrap lines to 75 | 17 | V1 -> V2: Fix commit message to use imperative mood and wrap lines to 75 |
... | ... | diff view generated by jsdifflib |