diff options
| author | Jakub Sitnicki <jsitnicki@gmail.com> | 2016-02-29 17:04:23 -0500 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2016-03-10 15:28:58 +0200 |
| commit | f6c47702ede3edc1dbf73355c134d7e33d9c86ca (patch) | |
| tree | 9cf7fcba56074e9acfba71f00123e808fd695510 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | d940c247adbd44c885777099e3e6c64b7ca2d078 (diff) | |
| download | kernel-f6c47702ede3edc1dbf73355c134d7e33d9c86ca.tar.gz | |
rtl8xxxu: Don't check for illegal offset when reading from efuse
It is enough to check for either illegal offset or illegal map address
because map address is a value derived from an offset:
map_addr = offset * 8
EFUSE_MAP_LEN = EFUSE_MAX_SECTION_8723A * 8
Leave just the check for an illegal map address because its upper
bound (EFUSE_MAP_LEN) is used also in a couple other places.
Signed-off-by: Jakub Sitnicki <jsitnicki@gmail.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
