diff options
| author | Breno Leitao <leitao@debian.org> | 2018-08-21 15:44:48 -0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 15:54:00 +0100 |
| commit | 6eb5dfdd45645da7a023fea95865dab51a4f1a39 (patch) | |
| tree | 43ae655d70d580fb860ad5d6fba67804a184cc1b /tools/perf/scripts/python/netdev-times.py | |
| parent | 3b767de18989f8f13bbd3d944b791674a8a1416d (diff) | |
powerpc/iommu: Avoid derefence before pointer check
[ Upstream commit 984ecdd68de0fa1f63ce205d6c19ef5a7bc67b40 ]
The tbl pointer is being derefenced by IOMMU_PAGE_SIZE prior the check
if it is not NULL.
Just moving the dereference code to after the check, where there will
be guarantee that 'tbl' will not be NULL.
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
