Skip to content

Commit 3631b9c

Browse files
committed
parisc: Drop padding fields and layers entries from inventory log
Drop those, as they are zero and not used by HPPA-SeaBIOS. Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 3a86608 commit 3631b9c

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

arch/parisc/kernel/drivers.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,11 +1043,7 @@ static __init int qemu_print_iodc_data(struct device *lin_dev, void *data)
10431043
(unsigned char)mod_path.path.bc[3],
10441044
(unsigned char)mod_path.path.bc[4],
10451045
(unsigned char)mod_path.path.bc[5]);
1046-
pr_cont(".mod = 0x%x ", mod_path.path.mod);
1047-
pr_cont(" },\n");
1048-
pr_cont("\t.layers = { 0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x }\n",
1049-
mod_path.layers[0], mod_path.layers[1], mod_path.layers[2],
1050-
mod_path.layers[3], mod_path.layers[4], mod_path.layers[5]);
1046+
pr_cont(".mod = 0x%x }\n", mod_path.path.mod);
10511047
pr_cont("};\n");
10521048

10531049
pr_info("static struct pdc_iodc iodc_data_hpa_%08lx = {\n", hpa);
@@ -1067,8 +1063,6 @@ static __init int qemu_print_iodc_data(struct device *lin_dev, void *data)
10671063
DO(checksum);
10681064
DO(length);
10691065
#undef DO
1070-
pr_cont("\t/* pad: 0x%04x, 0x%04x */\n",
1071-
iodc_data.pad[0], iodc_data.pad[1]);
10721066
pr_cont("};\n");
10731067

10741068
pr_info("#define HPA_%08lx_num_addr %d\n", hpa, dev->num_addrs);

0 commit comments

Comments
 (0)