>>> dmidecode: Building main/dmidecode 3.6-r0 (using abuild 3.13.0-r3) started Fri, 26 Apr 2024 13:59:37 +0000 >>> dmidecode: Checking sanity of /home/buildozer/aports/main/dmidecode/APKBUILD... >>> dmidecode: Analyzing dependencies... >>> dmidecode: Installing for build: build-base bash-completion bash-completion-dev (1/7) Installing readline (8.2.10-r0) (2/7) Installing bash (5.2.26-r0) Executing bash-5.2.26-r0.post-install (3/7) Installing bash-completion (2.12.0-r0) (4/7) Installing bash-completion-dev (2.12.0-r0) (5/7) Installing .makedepends-dmidecode (20240426.135940) (6/7) Installing openrc-bash-completion (0.54-r1) (7/7) Installing git-bash-completion (2.44.0-r2) Executing busybox-1.36.1-r26.trigger OK: 231 MiB in 109 packages >>> dmidecode: Cleaning up srcdir >>> dmidecode: Cleaning up pkgdir >>> dmidecode: Cleaning up tmpdir >>> dmidecode: Fetching https://distfiles.alpinelinux.org/distfiles/edge/dmidecode-3.6.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (56) The requested URL returned error: 404 >>> dmidecode: Fetching https://download.savannah.gnu.org/releases/dmidecode/dmidecode-3.6.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 69284 100 69284 0 0 97k 0 --:--:-- --:--:-- --:--:-- 97k >>> dmidecode: Fetching https://distfiles.alpinelinux.org/distfiles/edge/dmidecode-3.6.tar.xz >>> dmidecode: Checking sha512sums... dmidecode-3.6.tar.xz: OK >>> dmidecode: Unpacking /var/cache/distfiles/dmidecode-3.6.tar.xz... gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -D_FILE_OFFSET_BITS=64 -c dmidecode.c -o dmidecode.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -D_FILE_OFFSET_BITS=64 -c dmiopt.c -o dmiopt.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -D_FILE_OFFSET_BITS=64 -c dmioem.c -o dmioem.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -D_FILE_OFFSET_BITS=64 -c dmioutput.c -o dmioutput.o gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -D_FILE_OFFSET_BITS=64 -c util.c -o util.o In file included from dmioem.c:26: dmioem.c: In function 'dmi_decode_acer': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:113:31: note: in expansion of macro 'WORD' 113 | cap = WORD(data + 0x04); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:119:86: note: in expansion of macro 'WORD' 119 | pr_attr("Function bitmap for Application Button", "0x%04hx", WORD(data + 0x06)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:120:80: note: in expansion of macro 'WORD' 120 | pr_attr("Function bitmap for Media Button", "0x%04hx", WORD(data + 0x08)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:121:82: note: in expansion of macro 'WORD' 121 | pr_attr("Function bitmap for Display Button", "0x%04hx", WORD(data + 0x0A)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:122:81: note: in expansion of macro 'WORD' 122 | pr_attr("Function bitmap for Others Button", "0x%04hx", WORD(data + 0x0C)); | ^~~~ dmioem.c: In function 'dmi_hp_216_version': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:419:76: note: in expansion of macro 'WORD' 419 | data[2], data[3], WORD(data + 4)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:422:40: note: in expansion of macro 'WORD' 422 | pr_attr(name, "%d.%d", WORD(data + 4), WORD(data)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:422:56: note: in expansion of macro 'WORD' 422 | pr_attr(name, "%d.%d", WORD(data + 4), WORD(data)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:425:61: note: in expansion of macro 'WORD' 425 | pr_attr(name, "%d.%d.%d", data[0], data[1], WORD(data + 2)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:431:43: note: in expansion of macro 'WORD' 431 | pr_attr(name, "%d.%d %d", WORD(data + 2), WORD(data), DWORD(data + 4)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:431:59: note: in expansion of macro 'WORD' 431 | pr_attr(name, "%d.%d %d", WORD(data + 2), WORD(data), DWORD(data + 4)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:431:71: note: in expansion of macro 'DWORD' 431 | pr_attr(name, "%d.%d %d", WORD(data + 2), WORD(data), DWORD(data + 4)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:434:46: note: in expansion of macro 'WORD' 434 | pr_attr(name, "%d.%d.%d.%d", WORD(data), WORD(data + 2), | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:434:58: note: in expansion of macro 'WORD' 434 | pr_attr(name, "%d.%d.%d.%d", WORD(data), WORD(data + 2), | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:435:46: note: in expansion of macro 'WORD' 435 | WORD(data + 4), WORD(data + 6)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:435:62: note: in expansion of macro 'WORD' 435 | WORD(data + 4), WORD(data + 6)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:445:33: note: in expansion of macro 'WORD' 445 | WORD(data), WORD(data + 2), WORD(data + 4), WORD(data + 6), | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:445:45: note: in expansion of macro 'WORD' 445 | WORD(data), WORD(data + 2), WORD(data + 4), WORD(data + 6), | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:445:61: note: in expansion of macro 'WORD' 445 | WORD(data), WORD(data + 2), WORD(data + 4), WORD(data + 6), | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:445:77: note: in expansion of macro 'WORD' 445 | WORD(data), WORD(data + 2), WORD(data + 4), WORD(data + 6), | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:446:51: note: in expansion of macro 'WORD' 446 | data[8], data[9], WORD(data + 10)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:453:39: note: in expansion of macro 'DWORD' 453 | pr_attr(name, "%08X", DWORD(data)); | ^~~~~ dmioem.c: In function 'dmi_decode_hp': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:884:72: note: in expansion of macro 'WORD' 884 | pr_attr("Associated Handle", "0x%04X", WORD(data + 0x04)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:895:29: note: in expansion of macro 'WORD' 895 | if (WORD(data + 0x0A)) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:896:66: note: in expansion of macro 'WORD' 896 | pr_attr("Maximum Power", "%d W", WORD(data + 0x0A)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:899:64: note: in expansion of macro 'DWORD' 899 | pr_attr("x2APIC ID", "0x%08x", DWORD(data + 0x0C)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:901:29: note: in expansion of macro 'DWORD' 901 | if (DWORD(data + 0x10) || DWORD(data + 0x14)) | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:901:51: note: in expansion of macro 'DWORD' 901 | if (DWORD(data + 0x10) || DWORD(data + 0x14)) | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:902:63: note: in expansion of macro 'DWORD' 902 | pr_attr("UUID", "0x%08x%08x", DWORD(data + 0x14), DWORD(data + 0x10)); | ^~~~~ In file included from dmidecode.c:81: dmidecode.c: In function 'dmi_base_board_handles': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:592:40: note: in expansion of macro 'WORD' 592 | pr_list_item("0x%04X", WORD(p + sizeof(u16) * i)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:902:83: note: in expansion of macro 'DWORD' 902 | pr_attr("UUID", "0x%08x%08x", DWORD(data + 0x14), DWORD(data + 0x10)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:904:29: note: in expansion of macro 'WORD' 904 | if (WORD(data + 0x18)) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:905:74: note: in expansion of macro 'WORD' 905 | pr_attr("Interconnect Speed", "%d MT/s", WORD(data + 0x18)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:925:45: note: in expansion of macro 'DWORD' 925 | u32 cpuid = DWORD(data + ptr + 2 * 4); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:934:40: note: in expansion of macro 'DWORD' 934 | date = DWORD(data + ptr + 4); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:937:61: note: in expansion of macro 'DWORD' 937 | pr_subattr("Patch", "0x%X", DWORD(data + ptr)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:980:75: note: in expansion of macro 'WORD' 980 | dmi_hp_203_assoc_hndl("Associated Device Record", WORD(data + 0x04)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:981:75: note: in expansion of macro 'WORD' 981 | dmi_hp_203_assoc_hndl("Associated SMBus Record", WORD(data + 0x06)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:982:29: note: in expansion of macro 'WORD' 982 | if (WORD(data + 0x08) == 0xffff && WORD(data + 0x0A) == 0xffff && | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:982:60: note: in expansion of macro 'WORD' 982 | if (WORD(data + 0x08) == 0xffff && WORD(data + 0x0A) == 0xffff && | ^~~~ dmidecode.c: In function 'dmi_processor_family': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:983:29: note: in expansion of macro 'WORD' 983 | WORD(data + 0x0C) == 0xffff && WORD(data + 0x0E) == 0xffff && | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:1031:17: note: in expansion of macro 'WORD' 1031 | WORD(data + 0x28) : data[0x06]; | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:983:60: note: in expansion of macro 'WORD' 983 | WORD(data + 0x0C) == 0xffff && WORD(data + 0x0E) == 0xffff && | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:990:69: note: in expansion of macro 'WORD' 990 | dmi_hp_203_pciinfo("PCI Vendor ID", WORD(data + 0x08)); | ^~~~ dmidecode.c: In function 'dmi_get_cpuid_type': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:991:69: note: in expansion of macro 'WORD' 991 | dmi_hp_203_pciinfo("PCI Device ID", WORD(data + 0x0A)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:1078:17: note: in expansion of macro 'WORD' 1078 | WORD(data + 0x28) : data[0x06]; | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:992:73: note: in expansion of macro 'WORD' 992 | dmi_hp_203_pciinfo("PCI Sub Vendor ID", WORD(data + 0x0C)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:1086:26: note: in expansion of macro 'WORD' 1086 | u16 dx = WORD(p); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:993:73: note: in expansion of macro 'WORD' 993 | dmi_hp_203_pciinfo("PCI Sub Device ID", WORD(data + 0x0E)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:1109:22: note: in expansion of macro 'WORD' 1109 | && (WORD(data + 0x26) & (1 << 9))) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:997:64: note: in expansion of macro 'WORD' 997 | dmi_hp_203_assoc_hndl("Parent Handle", WORD(data + 0x12)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:998:52: note: in expansion of macro 'WORD' 998 | pr_attr("Flags", "0x%04X", WORD(data + 0x14)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:999:29: note: in expansion of macro 'WORD' 999 | if (WORD(data + 0x14) & 0x01) | ^~~~ dmidecode.c: In function 'dmi_print_cpuid': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:1149:30: note: in expansion of macro 'WORD' 1149 | dx = WORD(p); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1001:29: note: in expansion of macro 'WORD' 1001 | if (WORD(data + 0x14) & 0x02) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:1160:30: note: in expansion of macro 'WORD' 1160 | dx = WORD(p); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:1168:32: note: in expansion of macro 'DWORD' 1168 | midr = DWORD(p); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1016:37: note: in expansion of macro 'WORD' 1016 | if (WORD(data + 0x14) & 1) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1018:49: note: in expansion of macro 'WORD' 1018 | WORD(data + 0x20)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:1187:34: note: in expansion of macro 'DWORD' 1187 | jep106 = DWORD(p); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:1188:40: note: in expansion of macro 'DWORD' 1188 | soc_revision = DWORD(p + 4); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1026:67: note: in expansion of macro 'WORD' 1026 | pr_attr("Segment Group Number", "0x%04x", WORD(data + 0x24)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:1210:31: note: in expansion of macro 'DWORD' 1210 | eax = DWORD(p); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:1226:31: note: in expansion of macro 'DWORD' 1226 | eax = DWORD(p); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:1234:31: note: in expansion of macro 'DWORD' 1234 | eax = DWORD(p); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1095:41: note: in expansion of macro 'DWORD' 1095 | DWORD(data + 0x04), | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1099:64: note: in expansion of macro 'DWORD' 1099 | pr_attr("Signature", "0x%08x", DWORD(data + 0x04)); | ^~~~~ dmidecode.c: In function 'dmi_processor_id': types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1100:29: note: in expansion of macro 'DWORD' 1100 | if (DWORD(data + 0x04) == 0x55524324) | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:1297:15: note: in expansion of macro 'DWORD' 1297 | edx = DWORD(p + 4); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmioem.c:1102:45: note: in expansion of macro 'QWORD' 1102 | u64 paddr = QWORD(data + 0x08); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1103:44: note: in expansion of macro 'DWORD' 1103 | paddr.l += DWORD(data + 0x14); | ^~~~~ dmidecode.c: In function 'dmi_processor_frequency': types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1104:47: note: in expansion of macro 'DWORD' 1104 | if (paddr.l < DWORD(data + 0x14)) | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:1348:20: note: in expansion of macro 'WORD' 1348 | u16 code = WORD(p); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1108:61: note: in expansion of macro 'DWORD' 1108 | pr_attr("Length", "0x%08x", DWORD(data + 0x10)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1149:44: note: in expansion of macro 'WORD' 1149 | dmi_hp_216_fw_type(WORD(data + 0x04)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1153:29: note: in expansion of macro 'WORD' 1153 | if (WORD(data + 0x15)) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1154:64: note: in expansion of macro 'WORD' 1154 | pr_attr("Unique ID", "0x%04x", WORD(data + 0x15)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1165:61: note: in expansion of macro 'DWORD' 1165 | pr_attr("Power Features", "0x%08x", DWORD(data + 0x04)); | ^~~~~ dmidecode.c: In function 'dmi_memory_controller_slots': types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1167:61: note: in expansion of macro 'DWORD' 1167 | pr_attr("Omega Features", "0x%08x", DWORD(data + 0x08)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:1614:40: note: in expansion of macro 'WORD' 1614 | pr_list_item("0x%04X", WORD(p + sizeof(u16) * i)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1169:32: note: in expansion of macro 'DWORD' 1169 | feat = DWORD(data + 0x10); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1200:72: note: in expansion of macro 'WORD' 1200 | pr_attr("Associated Handle", "0x%04X", WORD(data + 0x8)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1202:43: note: in expansion of macro 'WORD' 1202 | dmi_hp_224_chipid(WORD(data + 0x0a)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1227:72: note: in expansion of macro 'WORD' 1227 | pr_attr("Associated Handle", "0x%04X", WORD(data + 0x4)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1287:53: note: in expansion of macro 'WORD' 1287 | pr_attr("Box Number", "%d", WORD(data + 0x5)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1288:53: note: in expansion of macro 'WORD' 1288 | pr_attr("NVRAM ID", "0x%X", WORD(data + 0x7)); | ^~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmioem.c:1290:62: note: in expansion of macro 'QWORD' 1290 | pr_attr("SAS Expander WWID", "0x%X", QWORD(data + 0x9)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1321:72: note: in expansion of macro 'WORD' 1321 | pr_attr("Associated Handle", "0x%04X", WORD(data + 0x4)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1327:29: note: in expansion of macro 'WORD' 1327 | if (WORD(data + 0x09)) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1354:72: note: in expansion of macro 'WORD' 1354 | pr_attr("Associated Handle", "0x%04X", WORD(data + 0x4)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1358:61: note: in expansion of macro 'WORD' 1358 | dmi_hp_238_flags("Management Port", WORD(data + 0x9)); | ^~~~ dmidecode.c: In function 'dmi_slot_peers': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:2295:25: note: in expansion of macro 'WORD' 2295 | WORD(data), data[2], data[3] >> 3, data[3] & 0x07, | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1403:72: note: in expansion of macro 'WORD' 1403 | pr_attr("Associated Handle", "0x%04X", WORD(data + 0x04)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1404:60: note: in expansion of macro 'WORD' 1404 | pr_attr("USB Vendor ID", "0x%04x", WORD(data + 0x06)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1407:61: note: in expansion of macro 'WORD' 1407 | pr_attr("USB Product ID", "0x%04x", WORD(data + 0x0D)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1408:29: note: in expansion of macro 'DWORD' 1408 | if (DWORD(data + 0x0F)) | ^~~~~ dmidecode.c: In function 'dmi_group_associations_items': types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1409:66: note: in expansion of macro 'DWORD' 1409 | pr_attr("USB Capacity", "%u MB", DWORD(data + 0x0F)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:2496:25: note: in expansion of macro 'WORD' 2496 | WORD(p + 3 * i + 1), | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1441:72: note: in expansion of macro 'WORD' 1441 | pr_attr("Associated Handle", "0x%04X", WORD(data + 0x4)); | ^~~~ dmidecode.c: In function 'dmi_event_log_address': types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1442:62: note: in expansion of macro 'DWORD' 1442 | pr_attr("Package Version", "0x%08X", DWORD(data + 0x6)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:2546:33: note: in expansion of macro 'WORD' 2546 | WORD(p), WORD(p + 2)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1445:29: note: in expansion of macro 'DWORD' 1445 | if (DWORD(data + 0x0B)) | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:2546:42: note: in expansion of macro 'WORD' 2546 | WORD(p), WORD(p + 2)); | ^~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmioem.c:1446:69: note: in expansion of macro 'QWORD' 1446 | dmi_print_memory_size("Image Size", QWORD(data + 0xB), 0); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:2549:61: note: in expansion of macro 'DWORD' 2549 | pr_attr("Access Address", "0x%08X", DWORD(p)); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmioem.c:1450:41: note: in expansion of macro 'QWORD' 1450 | dmi_hp_240_attr(QWORD(data + 0x13), QWORD(data + 0x1B)); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmioem.c:1450:61: note: in expansion of macro 'QWORD' 1450 | dmi_hp_240_attr(QWORD(data + 0x13), QWORD(data + 0x1B)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:2552:61: note: in expansion of macro 'WORD' 2552 | pr_attr("Access Address", "0x%04X", WORD(p)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1452:29: note: in expansion of macro 'DWORD' 1452 | if (DWORD(data + 0x23)) | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1453:79: note: in expansion of macro 'DWORD' 1453 | pr_attr("Lowest Supported Version", "0x%08X", DWORD(data + 0x23)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1498:72: note: in expansion of macro 'WORD' 1498 | pr_attr("Associated Handle", "0x%04X", WORD(data + 0x4)); | ^~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmioem.c:1500:47: note: in expansion of macro 'QWORD' 1500 | pr_attr("ID", "%llx", QWORD(data + 0x07)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1502:62: note: in expansion of macro 'DWORD' 1502 | pr_attr("Capacity", "%u MB", DWORD(data + 0x0F)); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmioem.c:1504:67: note: in expansion of macro 'QWORD' 1504 | dmi_print_memory_size("Capacity", QWORD(data + 0x2C), 0); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmioem.c:1506:57: note: in expansion of macro 'QWORD' 1506 | pr_attr("Poweron", "%ld hours", QWORD(data + 0x13)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1527:59: note: in expansion of macro 'DWORD' 1527 | pr_attr("Block Size", "%u bytes", DWORD(data + 0x34)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1531:62: note: in expansion of macro 'WORD' 1531 | dmi_hp_242_speed("Negotiated Speed", WORD(data + 0x3A)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1532:59: note: in expansion of macro 'WORD' 1532 | dmi_hp_242_speed("Capable Speed", WORD(data + 0x3C)); | ^~~~ dmidecode.c: In function 'dmi_memory_channel_devices': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:3672:49: note: in expansion of macro 'WORD' 3672 | pr_attr(attr, "0x%04X", WORD(p + 3 * i + 1)); | ^~~~ dmidecode.c: In function 'dmi_ipmi_base_address': types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:3705:31: note: in expansion of macro 'QWORD' 3705 | u64 address = QWORD(p); | ^~~~~ dmidecode.c: In function 'dmi_additional_info': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:3815:25: note: in expansion of macro 'WORD' 3815 | WORD(p + 0x01)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:3827:60: note: in expansion of macro 'WORD' 3827 | pr_attr("Value", "0x%04x", WORD(p + 0x05)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:3830:60: note: in expansion of macro 'DWORD' 3830 | pr_attr("Value", "0x%08x", DWORD(p + 0x05)); | ^~~~~ dmidecode.c: In function 'dmi_parse_protocol_record': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4051:24: note: in expansion of macro 'WORD' 4051 | port = WORD(&rdata[84]); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4052:24: note: in expansion of macro 'DWORD' 4052 | vlan = DWORD(&rdata[86]); | ^~~~~ dmidecode.c: In function 'dmi_parse_controller_structure': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4168:33: note: in expansion of macro 'WORD' 4168 | WORD(&usbdata[0x0])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4171:33: note: in expansion of macro 'WORD' 4171 | WORD(&usbdata[0x2])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4183:33: note: in expansion of macro 'WORD' 4183 | WORD(&pcidata[0x0])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4186:33: note: in expansion of macro 'WORD' 4186 | WORD(&pcidata[0x2])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4189:33: note: in expansion of macro 'WORD' 4189 | WORD(&pcidata[0x4])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4192:33: note: in expansion of macro 'WORD' 4192 | WORD(&pcidata[0x6])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4200:33: note: in expansion of macro 'WORD' 4200 | WORD(&usbdata[0x1])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4203:33: note: in expansion of macro 'WORD' 4203 | WORD(&usbdata[0x3])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4220:60: note: in expansion of macro 'WORD' 4220 | dmi_device_characteristics(WORD(&usbdata[0xc])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4224:37: note: in expansion of macro 'WORD' 4224 | if (WORD(&usbdata[0x0c]) & 0x1) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4227:57: note: in expansion of macro 'WORD' 4227 | WORD(&usbdata[0xe])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4237:33: note: in expansion of macro 'WORD' 4237 | WORD(&pcidata[0x1])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4240:33: note: in expansion of macro 'WORD' 4240 | WORD(&pcidata[0x3])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4243:33: note: in expansion of macro 'WORD' 4243 | WORD(&pcidata[0x5])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4246:33: note: in expansion of macro 'WORD' 4246 | WORD(&pcidata[0x7])); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4254:51: note: in expansion of macro 'WORD' 4254 | dmi_slot_segment_bus_func(WORD(&pcidata[0xf]), pcidata[0x11], pcidata[0x12]); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4261:60: note: in expansion of macro 'WORD' 4261 | dmi_device_characteristics(WORD(&pcidata[0x13]) ); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4264:37: note: in expansion of macro 'WORD' 4264 | if (WORD(&pcidata[0x13]) & 0x1) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4267:57: note: in expansion of macro 'WORD' 4267 | WORD(&pcidata[0x15])); | ^~~~ dmidecode.c: In function 'dmi_firmware_components': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4431:40: note: in expansion of macro 'WORD' 4431 | pr_list_item("0x%04X", WORD(p + sizeof(u16) * i)); | ^~~~ dmidecode.c: In function 'dmi_decode': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4462:29: note: in expansion of macro 'WORD' 4462 | if (WORD(data + 0x06) != 0) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4465:41: note: in expansion of macro 'WORD' 4465 | WORD(data + 0x06)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4466:66: note: in expansion of macro 'WORD' 4466 | dmi_bios_runtime_size((0x10000 - WORD(data + 0x06)) << 4); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4468:79: note: in expansion of macro 'WORD' 4468 | dmi_bios_rom_size(data[0x09], h->length < 0x1A ? 16 : WORD(data + 0x18)); | ^~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:4470:50: note: in expansion of macro 'QWORD' 4470 | dmi_bios_characteristics(QWORD(data + 0x0A)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4528:41: note: in expansion of macro 'WORD' 4528 | WORD(data + 0x0B)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4563:33: note: in expansion of macro 'DWORD' 4563 | DWORD(data + 0x0D)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4604:53: note: in expansion of macro 'WORD' 4604 | WORD(data + 0x1A), "L1", ver); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4606:53: note: in expansion of macro 'WORD' 4606 | WORD(data + 0x1C), "L2", ver); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4608:53: note: in expansion of macro 'WORD' 4608 | WORD(data + 0x1E), "L3", ver); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4621:41: note: in expansion of macro 'WORD' 4621 | WORD(data + 0x2A) : data[0x23]); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4625:41: note: in expansion of macro 'WORD' 4625 | WORD(data + 0x2C) : data[0x24]); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4629:41: note: in expansion of macro 'WORD' 4629 | WORD(data + 0x2E) : data[0x25]); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4630:50: note: in expansion of macro 'WORD' 4630 | if (h->length >= 0x32 && WORD(data + 0x30) != 0) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4632:41: note: in expansion of macro 'WORD' 4632 | WORD(data + 0x30)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4634:55: note: in expansion of macro 'WORD' 4634 | WORD(data + 0x26)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4653:54: note: in expansion of macro 'WORD' 4653 | WORD(data + 0x09)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4655:49: note: in expansion of macro 'WORD' 4655 | WORD(data + 0x0B), 0); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4671:57: note: in expansion of macro 'WORD' 4671 | dmi_memory_module_types("Type", WORD(data + 0x07), 1); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4683:33: note: in expansion of macro 'WORD' 4683 | WORD(data + 0x05) & 0x0080 ? "Enabled" : "Disabled", | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4684:33: note: in expansion of macro 'WORD' 4684 | WORD(data + 0x05) & 0x0008 ? "Socketed" : "Not Socketed", | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4685:34: note: in expansion of macro 'WORD' 4685 | (WORD(data + 0x05) & 0x0007) + 1); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4687:49: note: in expansion of macro 'WORD' 4687 | dmi_cache_mode((WORD(data + 0x05) >> 8) & 0x0003)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4689:53: note: in expansion of macro 'WORD' 4689 | dmi_cache_location((WORD(data + 0x05) >> 5) & 0x0003)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4691:68: note: in expansion of macro 'DWORD' 4691 | dmi_cache_size_2("Installed Size", DWORD(data + 0x17)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4693:66: note: in expansion of macro 'WORD' 4693 | dmi_cache_size("Installed Size", WORD(data + 0x09)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4695:66: note: in expansion of macro 'DWORD' 4695 | dmi_cache_size_2("Maximum Size", DWORD(data + 0x13)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4697:64: note: in expansion of macro 'WORD' 4697 | dmi_cache_size("Maximum Size", WORD(data + 0x07)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4698:65: note: in expansion of macro 'WORD' 4698 | dmi_cache_types("Supported SRAM Types", WORD(data + 0x0B), 0); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4699:64: note: in expansion of macro 'WORD' 4699 | dmi_cache_types("Installed SRAM Type", WORD(data + 0x0D), 1); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4742:51: note: in expansion of macro 'WORD' 4742 | dmi_slot_segment_bus_func(WORD(data + 0x0D), data[0x0F], data[0x10]); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4751:40: note: in expansion of macro 'WORD' 4751 | dmi_slot_pitch(WORD(data + 0x15 + data[0x12] * 5)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4803:33: note: in expansion of macro 'WORD' 4803 | WORD(data + 0x04)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4805:33: note: in expansion of macro 'WORD' 4805 | WORD(data + 0x06)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4806:29: note: in expansion of macro 'WORD' 4806 | if (WORD(data + 0x08) - WORD(data + 0x06)) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4806:49: note: in expansion of macro 'WORD' 4806 | if (WORD(data + 0x08) - WORD(data + 0x06)) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4808:41: note: in expansion of macro 'WORD' 4808 | WORD(data + 0x08) - WORD(data + 0x06), | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4808:61: note: in expansion of macro 'WORD' 4808 | WORD(data + 0x08) - WORD(data + 0x06), | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4809:41: note: in expansion of macro 'WORD' 4809 | WORD(data + 0x08) - WORD(data + 0x06) > 1 ? "s" : ""); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4809:61: note: in expansion of macro 'WORD' 4809 | WORD(data + 0x08) - WORD(data + 0x06) > 1 ? "s" : ""); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4811:33: note: in expansion of macro 'WORD' 4811 | WORD(data + 0x08)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4817:33: note: in expansion of macro 'DWORD' 4817 | DWORD(data + 0x0C)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4836:29: note: in expansion of macro 'DWORD' 4836 | if (DWORD(data + 0x07) == 0x80000000) | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:4842:63: note: in expansion of macro 'QWORD' 4842 | QWORD(data + 0x0F), 0); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4849:46: note: in expansion of macro 'DWORD' 4849 | capacity.l = DWORD(data + 0x07); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4854:63: note: in expansion of macro 'WORD' 4854 | dmi_memory_array_error_handle(WORD(data + 0x0B)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4856:33: note: in expansion of macro 'WORD' 4856 | WORD(data + 0x0D)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4865:41: note: in expansion of macro 'WORD' 4865 | WORD(data + 0x04)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4866:63: note: in expansion of macro 'WORD' 4866 | dmi_memory_array_error_handle(WORD(data + 0x06)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4868:64: note: in expansion of macro 'WORD' 4868 | dmi_memory_device_width("Total Width", WORD(data + 0x08)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4869:63: note: in expansion of macro 'WORD' 4869 | dmi_memory_device_width("Data Width", WORD(data + 0x0A)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4870:50: note: in expansion of macro 'WORD' 4870 | if (h->length >= 0x20 && WORD(data + 0x0C) == 0x7FFF) | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4871:65: note: in expansion of macro 'DWORD' 4871 | dmi_memory_device_extended_size(DWORD(data + 0x1C)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4873:56: note: in expansion of macro 'WORD' 4873 | dmi_memory_device_size(WORD(data + 0x0C)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4883:55: note: in expansion of macro 'WORD' 4883 | dmi_memory_device_type_detail(WORD(data + 0x13)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4886:29: note: in expansion of macro 'WORD' 4886 | if (WORD(data + 0x0C) == 0 && !(opt.flags & FLAG_NO_QUIRKS)) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4888:58: note: in expansion of macro 'WORD' 4888 | dmi_memory_device_speed("Speed", WORD(data + 0x15), | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4890:49: note: in expansion of macro 'DWORD' 4890 | DWORD(data + 0x54) : 0); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4907:49: note: in expansion of macro 'WORD' 4907 | WORD(data + 0x20), | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4909:49: note: in expansion of macro 'DWORD' 4909 | DWORD(data + 0x58) : 0); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4912:50: note: in expansion of macro 'WORD' 4912 | WORD(data + 0x22)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4914:50: note: in expansion of macro 'WORD' 4914 | WORD(data + 0x24)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4916:50: note: in expansion of macro 'WORD' 4916 | WORD(data + 0x26)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4919:62: note: in expansion of macro 'WORD' 4919 | dmi_memory_operating_mode_capability(WORD(data + 0x29)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4923:52: note: in expansion of macro 'WORD' 4923 | WORD(data + 0x2C)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4925:47: note: in expansion of macro 'WORD' 4925 | WORD(data + 0x2E)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4927:52: note: in expansion of macro 'WORD' 4927 | WORD(data + 0x30)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4929:47: note: in expansion of macro 'WORD' 4929 | WORD(data + 0x32)); | ^~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:4931:62: note: in expansion of macro 'QWORD' 4931 | dmi_memory_size("Non-Volatile Size", QWORD(data + 0x34)); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:4933:58: note: in expansion of macro 'QWORD' 4933 | dmi_memory_size("Volatile Size", QWORD(data + 0x3C)); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:4935:55: note: in expansion of macro 'QWORD' 4935 | dmi_memory_size("Cache Size", QWORD(data + 0x44)); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:4937:57: note: in expansion of macro 'QWORD' 4937 | dmi_memory_size("Logical Size", QWORD(data + 0x4C)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4940:52: note: in expansion of macro 'WORD' 4940 | WORD(data + 0x5C)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4941:54: note: in expansion of macro 'WORD' 4941 | dmi_memory_revision("PMIC0", WORD(data + 0x5E), | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4944:52: note: in expansion of macro 'WORD' 4944 | WORD(data + 0x60)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4945:52: note: in expansion of macro 'WORD' 4945 | dmi_memory_revision("RCD", WORD(data + 0x62), | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4958:51: note: in expansion of macro 'DWORD' 4958 | dmi_memory_error_syndrome(DWORD(data + 0x07)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4960:56: note: in expansion of macro 'DWORD' 4960 | DWORD(data + 0x0B)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4962:56: note: in expansion of macro 'DWORD' 4962 | DWORD(data + 0x0F)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4964:56: note: in expansion of macro 'DWORD' 4964 | DWORD(data + 0x13)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4970:50: note: in expansion of macro 'DWORD' 4970 | if (h->length >= 0x1F && DWORD(data + 0x04) == 0xFFFFFFFF) | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:4974:41: note: in expansion of macro 'QWORD' 4974 | start = QWORD(data + 0x0F); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:4975:39: note: in expansion of macro 'QWORD' 4975 | end = QWORD(data + 0x17); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4986:41: note: in expansion of macro 'DWORD' 4986 | DWORD(data + 0x04) >> 2, | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4987:42: note: in expansion of macro 'DWORD' 4987 | (DWORD(data + 0x04) & 0x3) << 10); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4989:41: note: in expansion of macro 'DWORD' 4989 | DWORD(data + 0x08) >> 2, | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4990:43: note: in expansion of macro 'DWORD' 4990 | ((DWORD(data + 0x08) & 0x3) << 10) + 0x3FF); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4991:57: note: in expansion of macro 'DWORD' 4991 | dmi_mapped_address_size(DWORD(data + 0x08) - DWORD(data + 0x04) + 1); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4991:78: note: in expansion of macro 'DWORD' 4991 | dmi_mapped_address_size(DWORD(data + 0x08) - DWORD(data + 0x04) + 1); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:4995:41: note: in expansion of macro 'WORD' 4995 | WORD(data + 0x0C)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5003:50: note: in expansion of macro 'DWORD' 5003 | if (h->length >= 0x23 && DWORD(data + 0x04) == 0xFFFFFFFF) | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:5007:41: note: in expansion of macro 'QWORD' 5007 | start = QWORD(data + 0x13); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:5008:39: note: in expansion of macro 'QWORD' 5008 | end = QWORD(data + 0x1B); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5019:41: note: in expansion of macro 'DWORD' 5019 | DWORD(data + 0x04) >> 2, | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5020:42: note: in expansion of macro 'DWORD' 5020 | (DWORD(data + 0x04) & 0x3) << 10); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5022:41: note: in expansion of macro 'DWORD' 5022 | DWORD(data + 0x08) >> 2, | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5023:43: note: in expansion of macro 'DWORD' 5023 | ((DWORD(data + 0x08) & 0x3) << 10) + 0x3FF); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5024:57: note: in expansion of macro 'DWORD' 5024 | dmi_mapped_address_size(DWORD(data + 0x08) - DWORD(data + 0x04) + 1); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5024:78: note: in expansion of macro 'DWORD' 5024 | dmi_mapped_address_size(DWORD(data + 0x08) - DWORD(data + 0x04) + 1); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5029:41: note: in expansion of macro 'WORD' 5029 | WORD(data + 0x0C)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5031:41: note: in expansion of macro 'WORD' 5031 | WORD(data + 0x0E)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5068:54: note: in expansion of macro 'WORD' 5068 | dmi_battery_capacity(WORD(data + 0x0A), 1); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5070:54: note: in expansion of macro 'WORD' 5070 | dmi_battery_capacity(WORD(data + 0x0A), data[0x15]); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5071:45: note: in expansion of macro 'WORD' 5071 | dmi_battery_voltage(WORD(data + 0x0C)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5078:41: note: in expansion of macro 'WORD' 5078 | WORD(data + 0x10)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5081:49: note: in expansion of macro 'WORD' 5081 | 1980 + (WORD(data + 0x12) >> 9), | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5082:42: note: in expansion of macro 'WORD' 5082 | (WORD(data + 0x12) >> 5) & 0x0F, | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5083:41: note: in expansion of macro 'WORD' 5083 | WORD(data + 0x12) & 0x1F); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5088:33: note: in expansion of macro 'DWORD' 5088 | DWORD(data + 0x16)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5104:63: note: in expansion of macro 'WORD' 5104 | dmi_system_reset_count("Reset Count", WORD(data + 0x05)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5105:63: note: in expansion of macro 'WORD' 5105 | dmi_system_reset_count("Reset Limit", WORD(data + 0x07)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5106:66: note: in expansion of macro 'WORD' 5106 | dmi_system_reset_timer("Timer Interval", WORD(data + 0x09)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5107:59: note: in expansion of macro 'WORD' 5107 | dmi_system_reset_timer("Timeout", WORD(data + 0x0B)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5138:66: note: in expansion of macro 'WORD' 5138 | dmi_voltage_probe_value("Maximum Value", WORD(data + 0x06)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5139:66: note: in expansion of macro 'WORD' 5139 | dmi_voltage_probe_value("Minimum Value", WORD(data + 0x08)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5140:54: note: in expansion of macro 'WORD' 5140 | dmi_voltage_probe_resolution(WORD(data + 0x0A)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5141:62: note: in expansion of macro 'WORD' 5141 | dmi_voltage_probe_value("Tolerance", WORD(data + 0x0C)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5142:44: note: in expansion of macro 'WORD' 5142 | dmi_probe_accuracy(WORD(data + 0x0E)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5144:33: note: in expansion of macro 'DWORD' 5144 | DWORD(data + 0x10)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5146:66: note: in expansion of macro 'WORD' 5146 | dmi_voltage_probe_value("Nominal Value", WORD(data + 0x14)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5152:58: note: in expansion of macro 'WORD' 5152 | if (!(opt.flags & FLAG_QUIET) && WORD(data + 0x04) != 0xFFFF) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5154:41: note: in expansion of macro 'WORD' 5154 | WORD(data + 0x04)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5163:33: note: in expansion of macro 'DWORD' 5163 | DWORD(data + 0x08)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5165:50: note: in expansion of macro 'WORD' 5165 | dmi_cooling_device_speed(WORD(data + 0x0C)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5180:53: note: in expansion of macro 'WORD' 5180 | WORD(data + 0x06)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5182:53: note: in expansion of macro 'WORD' 5182 | WORD(data + 0x08)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5183:58: note: in expansion of macro 'WORD' 5183 | dmi_temperature_probe_resolution(WORD(data + 0x0A)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5185:53: note: in expansion of macro 'WORD' 5185 | WORD(data + 0x0C)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5186:44: note: in expansion of macro 'WORD' 5186 | dmi_probe_accuracy(WORD(data + 0x0E)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5188:33: note: in expansion of macro 'DWORD' 5188 | DWORD(data + 0x10)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5191:53: note: in expansion of macro 'WORD' 5191 | WORD(data + 0x14)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5204:49: note: in expansion of macro 'WORD' 5204 | WORD(data + 0x06)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5206:49: note: in expansion of macro 'WORD' 5206 | WORD(data + 0x08)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5207:54: note: in expansion of macro 'WORD' 5207 | dmi_current_probe_resolution(WORD(data + 0x0A)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5209:49: note: in expansion of macro 'WORD' 5209 | WORD(data + 0x0C)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5210:44: note: in expansion of macro 'WORD' 5210 | dmi_probe_accuracy(WORD(data + 0x0E)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5212:33: note: in expansion of macro 'DWORD' 5212 | DWORD(data + 0x10)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5215:49: note: in expansion of macro 'WORD' 5215 | WORD(data + 0x14)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5235:33: note: in expansion of macro 'DWORD' 5235 | DWORD(data + 0x08) >> 16, | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5236:33: note: in expansion of macro 'DWORD' 5236 | DWORD(data + 0x08) & 0xFFFF); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5238:33: note: in expansion of macro 'DWORD' 5238 | DWORD(data + 0x0C)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5257:51: note: in expansion of macro 'DWORD' 5257 | dmi_memory_error_syndrome(DWORD(data + 0x07)); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:5259:56: note: in expansion of macro 'QWORD' 5259 | QWORD(data + 0x0B)); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:5261:56: note: in expansion of macro 'QWORD' 5261 | QWORD(data + 0x13)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5263:56: note: in expansion of macro 'DWORD' 5263 | DWORD(data + 0x1B)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5274:33: note: in expansion of macro 'DWORD' 5274 | DWORD(data + 0x06)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5287:41: note: in expansion of macro 'WORD' 5287 | WORD(data + 0x05)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5289:41: note: in expansion of macro 'WORD' 5289 | WORD(data + 0x07)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5290:37: note: in expansion of macro 'WORD' 5290 | if (WORD(data + 0x09) != 0xFFFF) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5292:49: note: in expansion of macro 'WORD' 5292 | WORD(data + 0x09)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5299:29: note: in expansion of macro 'WORD' 5299 | if (WORD(data + 0x04) != 0x8000) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5301:46: note: in expansion of macro 'WORD' 5301 | (i16)WORD(data + 0x04)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5302:29: note: in expansion of macro 'WORD' 5302 | if (WORD(data + 0x06) != 0x8000) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5304:46: note: in expansion of macro 'WORD' 5304 | (i16)WORD(data + 0x06)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5305:29: note: in expansion of macro 'WORD' 5305 | if (WORD(data + 0x08) != 0x8000) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5307:46: note: in expansion of macro 'WORD' 5307 | (i16)WORD(data + 0x08)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5308:29: note: in expansion of macro 'WORD' 5308 | if (WORD(data + 0x0A) != 0x8000) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5310:46: note: in expansion of macro 'WORD' 5310 | (i16)WORD(data + 0x0A)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5311:29: note: in expansion of macro 'WORD' 5311 | if (WORD(data + 0x0C) != 0x8000) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5313:46: note: in expansion of macro 'WORD' 5313 | (i16)WORD(data + 0x0C)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5314:29: note: in expansion of macro 'WORD' 5314 | if (WORD(data + 0x0E) != 0x8000) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5316:46: note: in expansion of macro 'WORD' 5316 | (i16)WORD(data + 0x0E)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5392:48: note: in expansion of macro 'WORD' 5392 | dmi_power_supply_power(WORD(data + 0x0C)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5393:29: note: in expansion of macro 'WORD' 5393 | if (WORD(data + 0x0E) & (1 << 1)) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5395:66: note: in expansion of macro 'WORD' 5395 | dmi_power_supply_status((WORD(data + 0x0E) >> 7) & 0x07)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5399:56: note: in expansion of macro 'WORD' 5399 | dmi_power_supply_type((WORD(data + 0x0E) >> 10) & 0x0F)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5401:67: note: in expansion of macro 'WORD' 5401 | dmi_power_supply_range_switching((WORD(data + 0x0E) >> 3) & 0x0F)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5403:33: note: in expansion of macro 'WORD' 5403 | WORD(data + 0x0E) & (1 << 2) ? "No" : "Yes"); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5405:33: note: in expansion of macro 'WORD' 5405 | WORD(data + 0x0E) & (1 << 0) ? "Yes" : "No"); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5409:37: note: in expansion of macro 'WORD' 5409 | if (WORD(data + 0x10) != 0xFFFF) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5411:49: note: in expansion of macro 'WORD' 5411 | WORD(data + 0x10)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5412:37: note: in expansion of macro 'WORD' 5412 | if (WORD(data + 0x12) != 0xFFFF) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5414:49: note: in expansion of macro 'WORD' 5414 | WORD(data + 0x12)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5415:37: note: in expansion of macro 'WORD' 5415 | if (WORD(data + 0x14) != 0xFFFF) | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5417:49: note: in expansion of macro 'WORD' 5417 | WORD(data + 0x14)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5437:51: note: in expansion of macro 'WORD' 5437 | dmi_slot_segment_bus_func(WORD(data + 0x07), data[0x09], data[0x0A]); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5483:49: note: in expansion of macro 'DWORD' 5483 | DWORD(data + 0x0A) >> 16, | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5484:49: note: in expansion of macro 'DWORD' 5484 | DWORD(data + 0x0A) & 0xFFFF); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:5494:49: note: in expansion of macro 'QWORD' 5494 | dmi_tpm_characteristics(QWORD(data + 0x13)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5498:33: note: in expansion of macro 'DWORD' 5498 | DWORD(data + 0x1B)); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:5513:55: note: in expansion of macro 'QWORD' 5513 | dmi_memory_size("Image Size", QWORD(data + 0x0C)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5515:54: note: in expansion of macro 'WORD' 5515 | dmi_firmware_characteristics(WORD(data + 0x14)); | ^~~~ dmidecode.c: In function 'to_dmi_header': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:5547:21: note: in expansion of macro 'WORD' 5547 | h->handle = WORD(data + 2); | ^~~~ dmidecode.c: In function 'smbios3_decode': types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmidecode.c:5934:18: note: in expansion of macro 'QWORD' 5934 | offset = QWORD(buf + 0x10); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:5942:15: note: in expansion of macro 'DWORD' 5942 | len = DWORD(buf + 0x0C); | ^~~~~ dmidecode.c: In function 'smbios_decode': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:6024:15: note: in expansion of macro 'WORD' 6024 | len = WORD(buf + 0x16); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:6025:15: note: in expansion of macro 'WORD' 6025 | num = WORD(buf + 0x1C); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:6026:31: note: in expansion of macro 'DWORD' 6026 | table = dmi_table_get(DWORD(buf + 0x18), &len, num, ver << 8, | ^~~~~ dmidecode.c: In function 'legacy_decode': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:6065:15: note: in expansion of macro 'WORD' 6065 | len = WORD(buf + 0x06); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:6066:15: note: in expansion of macro 'WORD' 6066 | num = WORD(buf + 0x0C); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:6067:31: note: in expansion of macro 'DWORD' 6067 | table = dmi_table_get(DWORD(buf + 0x08), &len, num, ver << 8, | ^~~~~ gcc -Wl,--as-needed,-O1,--sort-common dmidecode.o dmiopt.o dmioem.o dmioutput.o util.o -o dmidecode >>> dmidecode: Entering fakeroot... install -m 755 -d /home/buildozer/aports/main/dmidecode/pkg/dmidecode/usr/sbin install -m 755 -d /home/buildozer/aports/main/dmidecode/pkg/dmidecode/usr/share/man/man8 install -m 755 -d /home/buildozer/aports/main/dmidecode/pkg/dmidecode/usr/share/doc/dmidecode for program in dmidecode ; do \ install -m 755 $program /home/buildozer/aports/main/dmidecode/pkg/dmidecode/usr/sbin ; done for program in dmidecode ; do \ install -m 644 man/$program.8 /home/buildozer/aports/main/dmidecode/pkg/dmidecode/usr/share/man/man8 ; done install -m 644 README /home/buildozer/aports/main/dmidecode/pkg/dmidecode/usr/share/doc/dmidecode install -m 644 NEWS /home/buildozer/aports/main/dmidecode/pkg/dmidecode/usr/share/doc/dmidecode install -m 644 AUTHORS /home/buildozer/aports/main/dmidecode/pkg/dmidecode/usr/share/doc/dmidecode if [ -d /usr/share/bash-completion/completions ] ; then \ install -m 755 -d /home/buildozer/aports/main/dmidecode/pkg/dmidecode/usr/share/bash-completion/completions ; \ for program in dmidecode ; do \ install -m 644 completion/$program.bash /home/buildozer/aports/main/dmidecode/pkg/dmidecode/usr/share/bash-completion/completions/$program ; done ; \ fi >>> dmidecode-doc*: Running split function doc... >>> dmidecode-doc*: Preparing subpackage dmidecode-doc... >>> dmidecode-doc*: Running postcheck for dmidecode-doc >>> dmidecode-bash-completion*: Running split function bashcomp... '/home/buildozer/aports/main/dmidecode/pkg/dmidecode/usr/share/bash-completion/completions' -> '/home/buildozer/aports/main/dmidecode/pkg/dmidecode-bash-completion/usr/share/bash-completion/completions' >>> dmidecode-bash-completion*: Preparing subpackage dmidecode-bash-completion... >>> dmidecode-bash-completion*: Running postcheck for dmidecode-bash-completion >>> dmidecode*: Running postcheck for dmidecode >>> dmidecode*: Preparing package dmidecode... >>> dmidecode*: Stripping binaries >>> dmidecode-bash-completion*: Scanning shared objects >>> dmidecode-doc*: Scanning shared objects >>> dmidecode*: Scanning shared objects >>> dmidecode-bash-completion*: Tracing dependencies... >>> dmidecode-bash-completion*: Package size: 24.0 KB >>> dmidecode-bash-completion*: Compressing data... >>> dmidecode-bash-completion*: Create checksum... >>> dmidecode-bash-completion*: Create dmidecode-bash-completion-3.6-r0.apk >>> dmidecode-doc*: Tracing dependencies... >>> dmidecode-doc*: Package size: 60.0 KB >>> dmidecode-doc*: Compressing data... >>> dmidecode-doc*: Create checksum... >>> dmidecode-doc*: Create dmidecode-doc-3.6-r0.apk >>> dmidecode*: Tracing dependencies... so:libc.musl-riscv64.so.1 >>> dmidecode*: Package size: 156.0 KB >>> dmidecode*: Compressing data... >>> dmidecode*: Create checksum... >>> dmidecode*: Create dmidecode-3.6-r0.apk >>> dmidecode: Build complete at Fri, 26 Apr 2024 13:59:51 +0000 elapsed time 0h 0m 14s >>> dmidecode: Cleaning up srcdir >>> dmidecode: Cleaning up pkgdir >>> dmidecode: Uninstalling dependencies... (1/7) Purging .makedepends-dmidecode (20240426.135940) (2/7) Purging git-bash-completion (2.44.0-r2) (3/7) Purging openrc-bash-completion (0.54-r1) (4/7) Purging bash-completion (2.12.0-r0) (5/7) Purging bash (5.2.26-r0) Executing bash-5.2.26-r0.pre-deinstall (6/7) Purging bash-completion-dev (2.12.0-r0) (7/7) Purging readline (8.2.10-r0) Executing busybox-1.36.1-r26.trigger OK: 227 MiB in 102 packages >>> dmidecode: Updating the main/riscv64 repository index... >>> dmidecode: Signing the index...