diff options
| author | Mario Limonciello <[email protected]> | 2017-11-09 17:49:09 +0000 |
|---|---|---|
| committer | Darren Hart (VMware) <[email protected]> | 2017-11-17 01:45:26 +0000 |
| commit | 8b9528a6d9a901b9f933231505fef5630e80ce5a (patch) | |
| tree | 3e6d5a9ea96b58b7e90f1459ef0dd7f6cc2e14c6 /fs/jbd2/commit.c | |
| parent | platform/x86: Revert intel_pmc_ipc: Use MFD framework to create dependent dev... (diff) | |
| download | kernel-8b9528a6d9a901b9f933231505fef5630e80ce5a.tar.gz kernel-8b9528a6d9a901b9f933231505fef5630e80ce5a.zip | |
platform/x86: dell-wmi-descriptor: check if memory was allocated
devm_kzalloc will return NULL pointer if no memory was allocated.
This should be checked. This problem also existed when the driver
was dell-wmi.c.
Signed-off-by: Mario Limonciello <[email protected]>
Reviewed-by: Pali Rohár <[email protected]>
Signed-off-by: Darren Hart (VMware) <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
