summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorRoman Kiryanov <rkir@google.com>2018-07-23 15:47:27 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-02 10:24:51 +0200
commit68275680ea12e9f378e51ff525dacbb76f006764 (patch)
treec7a9aec7e79a3af518b485eaf7ce370aacf040fd /scripts/gdb/linux/utils.py
parent72755eed6c1c5312425ad3d78bf0b916769e6125 (diff)
goldfish: Use dedicated macros instead of manual bit shifting
There are dedicated macros (lower_32_bits and upper_32_bits) available to extract the lower and upper 32 bits. They provide better readability and could prevent some compilation warnings. Signed-off-by: Roman Kiryanov <rkir@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions