OSDN Git Service

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)
commit50f19697dd768d8b072cf7f12c0c99c7d31b67d8
tree0a4cdca231e08833558de021ab8eee6847d20549
parent9e4e2ce1a78ed92ed91135e90c85f27d75388129
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