]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Use signed char for hardware path in pdc.h
authorHelge Deller <deller@gmx.de>
Fri, 21 Oct 2022 07:15:20 +0000 (09:15 +0200)
committerHelge Deller <deller@gmx.de>
Fri, 21 Oct 2022 07:15:20 +0000 (09:15 +0200)
commite6d4b390f1d7925e939e995166d978e18d012711
tree0a4cdca231e08833558de021ab8eee6847d20549
parentecddcef3fa76bce3a1dca4fca707469379fdd98d
parisc: Use signed char for hardware path in pdc.h

Clean up the struct for hardware_path and drop the struct device_path
with a proper assignment of bc[] and mod members as signed chars.

This patch prepares for the kbuild change from Jason A. Donenfeld to
treat char as always unsigned.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
arch/parisc/include/uapi/asm/pdc.h
drivers/parisc/pdc_stable.c