aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/slab.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-06-06 23:54:16 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-06-13 21:23:05 +0200
commitf42cfd5ceced62799a7dd82899b03d7b9575fc22 (patch)
tree646c366f6d9cc2de544d0b01e1ff553f134e5faa /scripts/gdb/linux/slab.py
parent1dd804af345a126594a8b8e80510590b5775073b (diff)
ACPI: PMIC: Replace open coded be16_to_cpu()
It's easier to understand the nature of a data type when it's written explicitly. With that, replace open coded endianess conversion. As a side effect it fixes the returned value of intel_crc_pmic_update_aux() since ACPI PMIC core code expects negative or zero and never uses positive one. While at it, use macros from bits.h to reduce a room for mistake. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/slab.py')
0 files changed, 0 insertions, 0 deletions