diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-12-22 11:56:53 +0000 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2019-01-16 18:00:54 +0530 |
commit | 1138a442a0c5e97594ec63e898098b0c9e781172 (patch) | |
tree | 7db3d876d079b8491210f585c93de5948d368bb3 /Documentation/Intel-IOMMU.txt | |
parent | 3bd6e94bec122a951d462c239b47954cf5f36e33 (diff) | |
download | lwn-1138a442a0c5e97594ec63e898098b0c9e781172.tar.gz lwn-1138a442a0c5e97594ec63e898098b0c9e781172.zip |
phy: ti: ensure priv is not null before dereferencing it
Currently priv is being dereferenced before priv is being null checked.
Fix this by moving the null check on priv before the dereference.
Detected by CoverityScan, CID#1476018 ("Dereference before null check")
Fixes: 92b58b34741f ("phy: ti: introduce phy-gmii-sel driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'Documentation/Intel-IOMMU.txt')
0 files changed, 0 insertions, 0 deletions