>>> dmidecode: Building main/dmidecode 3.5-r1 (using abuild 3.11.0_rc12-r0) started Thu, 20 Apr 2023 02:09:14 +0000 >>> dmidecode: Checking sanity of /home/buildozer/aports/main/dmidecode/APKBUILD... >>> dmidecode: Analyzing dependencies... >>> dmidecode: Installing for build: build-base (1/1) Installing .makedepends-dmidecode (20230420.020915) OK: 326 MiB in 98 packages >>> dmidecode: Cleaning up srcdir >>> dmidecode: Cleaning up pkgdir >>> dmidecode: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/dmidecode-3.5.tar.xz >>> dmidecode: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/dmidecode-3.5.tar.xz >>> dmidecode: Checking sha512sums... dmidecode-3.5.tar.xz: OK >>> dmidecode: Unpacking /var/cache/distfiles/v3.18/dmidecode-3.5.tar.xz... gcc -Os -Wformat -Werror=format-security -Werror=int-conversion -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 -Wformat -Werror=format-security -Werror=int-conversion -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 -Wformat -Werror=format-security -Werror=int-conversion -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 -Wformat -Werror=format-security -Werror=int-conversion -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 -Wformat -Werror=format-security -Werror=int-conversion -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:25: 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:112:31: note: in expansion of macro 'WORD' 112 | 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:118:86: note: in expansion of macro 'WORD' 118 | 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:119:80: note: in expansion of macro 'WORD' 119 | 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:120:82: note: in expansion of macro 'WORD' 120 | 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:121:81: note: in expansion of macro 'WORD' 121 | 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:411:76: note: in expansion of macro 'WORD' 411 | 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:414:40: note: in expansion of macro 'WORD' 414 | 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:414:56: note: in expansion of macro 'WORD' 414 | 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:417:61: note: in expansion of macro 'WORD' 417 | 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:423:43: note: in expansion of macro 'WORD' 423 | 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:423:59: note: in expansion of macro 'WORD' 423 | 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:423:71: note: in expansion of macro 'DWORD' 423 | 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:426:46: note: in expansion of macro 'WORD' 426 | 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:426:58: note: in expansion of macro 'WORD' 426 | 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:427:46: note: in expansion of macro 'WORD' 427 | 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:427:62: note: in expansion of macro 'WORD' 427 | 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:437:33: note: in expansion of macro 'WORD' 437 | 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:437:45: note: in expansion of macro 'WORD' 437 | 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:437:61: note: in expansion of macro 'WORD' 437 | 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:437:77: note: in expansion of macro 'WORD' 437 | 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:438:51: note: in expansion of macro 'WORD' 438 | 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:445:39: note: in expansion of macro 'DWORD' 445 | pr_attr(name, "%08X", DWORD(data)); | ^~~~~ dmioem.c: In function 'dmi_decode_hp': types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:718:45: note: in expansion of macro 'DWORD' 718 | 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:727:40: note: in expansion of macro 'DWORD' 727 | 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:730:61: note: in expansion of macro 'DWORD' 730 | 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:773:75: note: in expansion of macro 'WORD' 773 | 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:774:75: note: in expansion of macro 'WORD' 774 | 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:775:29: note: in expansion of macro 'WORD' 775 | 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:775:60: note: in expansion of macro 'WORD' 775 | 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:776:29: note: in expansion of macro 'WORD' 776 | 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:776:60: note: in expansion of macro 'WORD' 776 | 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:783:69: note: in expansion of macro 'WORD' 783 | dmi_hp_203_pciinfo("PCI Vendor ID", 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:784:69: note: in expansion of macro 'WORD' 784 | 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)) | ^ dmioem.c:785:73: note: in expansion of macro 'WORD' 785 | 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)) | ^ dmioem.c:786:73: note: in expansion of macro 'WORD' 786 | dmi_hp_203_pciinfo("PCI Sub Device ID", WORD(data + 0x0E)); | ^~~~ In file included from dmidecode.c:79: 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:590:40: note: in expansion of macro 'WORD' 590 | pr_list_item("0x%04X", WORD(p + sizeof(u16) * i)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:790:64: note: in expansion of macro 'WORD' 790 | 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:791:52: note: in expansion of macro 'WORD' 791 | 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:805:37: note: in expansion of macro 'WORD' 805 | 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:807:49: note: in expansion of macro 'WORD' 807 | WORD(data + 0x20)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:815:67: note: in expansion of macro 'WORD' 815 | 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)) | ^ dmioem.c:882:41: note: in expansion of macro 'DWORD' 882 | 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:886:64: note: in expansion of macro 'DWORD' 886 | pr_attr("Signature", "0x%08x", DWORD(data + 0x04)); | ^~~~~ 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)) | ^ dmidecode.c:1008:17: note: in expansion of macro 'WORD' 1008 | WORD(data + 0x28) : data[0x06]; | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:887:29: note: in expansion of macro 'DWORD' 887 | if (DWORD(data + 0x04) == 0x55524324) | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmioem.c:889:45: note: in expansion of macro 'QWORD' 889 | u64 paddr = QWORD(data + 0x08); | ^~~~~ dmidecode.c: In function 'dmi_get_cpuid_type': types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:890:44: note: in expansion of macro 'DWORD' 890 | 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:1055:17: note: in expansion of macro 'WORD' 1055 | WORD(data + 0x28) : data[0x06]; | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:891:47: note: in expansion of macro 'DWORD' 891 | 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:1063:26: note: in expansion of macro 'WORD' 1063 | u16 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)) | ^ dmioem.c:895:61: note: in expansion of macro 'DWORD' 895 | 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)) | ^ dmidecode.c:1086:22: note: in expansion of macro 'WORD' 1086 | && (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:936:44: note: in expansion of macro 'WORD' 936 | 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:940:29: note: in expansion of macro 'WORD' 940 | if (WORD(data + 0x15)) | ^~~~ 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)) | ^ dmioem.c:941:64: note: in expansion of macro 'WORD' 941 | pr_attr("Unique ID", "0x%04x", 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)) | ^ dmidecode.c:1123:30: note: in expansion of macro 'WORD' 1123 | 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)) | ^ dmioem.c:952:61: note: in expansion of macro 'DWORD' 952 | pr_attr("Power Features", "0x%08x", DWORD(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:1134:30: note: in expansion of macro 'WORD' 1134 | 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)) | ^ dmioem.c:954:61: note: in expansion of macro 'DWORD' 954 | pr_attr("Omega Features", "0x%08x", DWORD(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:1142:32: note: in expansion of macro 'DWORD' 1142 | midr = 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:956:32: note: in expansion of macro 'DWORD' 956 | feat = DWORD(data + 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:1161:34: note: in expansion of macro 'DWORD' 1161 | 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:1162:40: note: in expansion of macro 'DWORD' 1162 | 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:987:72: note: in expansion of macro 'WORD' 987 | pr_attr("Associated Handle", "0x%04X", WORD(data + 0x8)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:1184:31: note: in expansion of macro 'DWORD' 1184 | eax = 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:989:43: note: in expansion of macro 'WORD' 989 | dmi_hp_224_chipid(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)) | ^ dmidecode.c:1200:31: note: in expansion of macro 'DWORD' 1200 | eax = 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:1014:72: note: in expansion of macro 'WORD' 1014 | pr_attr("Associated Handle", "0x%04X", WORD(data + 0x4)); | ^~~~ dmidecode.c: In function 'dmi_processor_id': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1070:53: note: in expansion of macro 'WORD' 1070 | pr_attr("Box Number", "%d", WORD(data + 0x5)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:1266:15: note: in expansion of macro 'DWORD' 1266 | edx = 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:1071:53: note: in expansion of macro 'WORD' 1071 | pr_attr("NVRAM ID", "0x%X", WORD(data + 0x7)); | ^~~~ dmidecode.c: In function 'dmi_processor_frequency': types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmioem.c:1073:62: note: in expansion of macro 'QWORD' 1073 | 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)) | ^ dmidecode.c:1317:20: note: in expansion of macro 'WORD' 1317 | u16 code = 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:1103:72: note: in expansion of macro 'WORD' 1103 | 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:1135:72: note: in expansion of macro 'WORD' 1135 | pr_attr("Associated Handle", "0x%04X", WORD(data + 0x4)); | ^~~~ dmidecode.c: In function 'dmi_memory_controller_slots': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1139:61: note: in expansion of macro 'WORD' 1139 | dmi_hp_238_flags("Management Port", WORD(data + 0x9)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:1566:40: note: in expansion of macro 'WORD' 1566 | pr_list_item("0x%04X", WORD(p + sizeof(u16) * i)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmioem.c:1174:72: note: in expansion of macro 'WORD' 1174 | pr_attr("Associated Handle", "0x%04X", WORD(data + 0x4)); | ^~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1175:62: note: in expansion of macro 'DWORD' 1175 | pr_attr("Package Version", "0x%08X", DWORD(data + 0x6)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1178:29: note: in expansion of macro 'DWORD' 1178 | if (DWORD(data + 0x0B)) | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmioem.c:1179:69: note: in expansion of macro 'QWORD' 1179 | dmi_print_memory_size("Image Size", QWORD(data + 0xB), 0); | ^~~~~ types.h:56:20: warning: cast increases required alignment of target type [-Wcast-align] 56 | #define QWORD(x) (*(const u64 *)(x)) | ^ dmioem.c:1183:41: note: in expansion of macro 'QWORD' 1183 | 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:1183:61: note: in expansion of macro 'QWORD' 1183 | dmi_hp_240_attr(QWORD(data + 0x13), 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)) | ^ dmioem.c:1185:29: note: in expansion of macro 'DWORD' 1185 | 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:1186:79: note: in expansion of macro 'DWORD' 1186 | 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:1231:72: note: in expansion of macro 'WORD' 1231 | 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:1233:47: note: in expansion of macro 'QWORD' 1233 | 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:1235:62: note: in expansion of macro 'DWORD' 1235 | 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:1237:67: note: in expansion of macro 'QWORD' 1237 | 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:1239:57: note: in expansion of macro 'QWORD' 1239 | pr_attr("Poweron", "%ld hours", QWORD(data + 0x13)); | ^~~~~ dmidecode.c: In function 'dmi_slot_peers': types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmioem.c:1260:59: note: in expansion of macro 'DWORD' 1260 | 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)) | ^ dmidecode.c:2262:25: note: in expansion of macro 'WORD' 2262 | 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:1264:62: note: in expansion of macro 'WORD' 1264 | 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:1265:59: note: in expansion of macro 'WORD' 1265 | dmi_hp_242_speed("Capable Speed", WORD(data + 0x3C)); | ^~~~ dmidecode.c: In function 'dmi_group_associations_items': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:2463:25: note: in expansion of macro 'WORD' 2463 | WORD(p + 3 * i + 1), | ^~~~ dmidecode.c: In function 'dmi_event_log_address': types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:2513:33: note: in expansion of macro 'WORD' 2513 | WORD(p), WORD(p + 2)); | ^~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:2513:42: note: in expansion of macro 'WORD' 2513 | 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)) | ^ dmidecode.c:2516:61: note: in expansion of macro 'DWORD' 2516 | pr_attr("Access Address", "0x%08X", DWORD(p)); | ^~~~~ types.h:54:24: warning: cast increases required alignment of target type [-Wcast-align] 54 | #define WORD(x) (u16)(*(const u16 *)(x)) | ^ dmidecode.c:2519:61: note: in expansion of macro 'WORD' 2519 | pr_attr("Access Address", "0x%04X", WORD(p)); | ^~~~ 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:3597:49: note: in expansion of macro 'WORD' 3597 | 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:3630:31: note: in expansion of macro 'QWORD' 3630 | 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:3740:25: note: in expansion of macro 'WORD' 3740 | 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:3752:60: note: in expansion of macro 'WORD' 3752 | 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:3755:60: note: in expansion of macro 'DWORD' 3755 | 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:3976:24: note: in expansion of macro 'WORD' 3976 | 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:3977:24: note: in expansion of macro 'DWORD' 3977 | 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:4069:33: note: in expansion of macro 'WORD' 4069 | 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:4072:33: note: in expansion of macro 'WORD' 4072 | 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:4084:33: note: in expansion of macro 'WORD' 4084 | 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:4087:33: note: in expansion of macro 'WORD' 4087 | 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:4090:33: note: in expansion of macro 'WORD' 4090 | 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:4093:33: note: in expansion of macro 'WORD' 4093 | WORD(&pcidata[0x6])); | ^~~~ 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:4255:40: note: in expansion of macro 'WORD' 4255 | 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:4286:29: note: in expansion of macro 'WORD' 4286 | 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:4289:41: note: in expansion of macro 'WORD' 4289 | 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:4290:66: note: in expansion of macro 'WORD' 4290 | 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:4292:79: note: in expansion of macro 'WORD' 4292 | 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:4294:50: note: in expansion of macro 'QWORD' 4294 | 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:4352:41: note: in expansion of macro 'WORD' 4352 | 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:4387:33: note: in expansion of macro 'DWORD' 4387 | 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:4428:53: note: in expansion of macro 'WORD' 4428 | 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:4430:53: note: in expansion of macro 'WORD' 4430 | 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:4432:53: note: in expansion of macro 'WORD' 4432 | 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:4445:41: note: in expansion of macro 'WORD' 4445 | 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:4449:41: note: in expansion of macro 'WORD' 4449 | 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:4453:41: note: in expansion of macro 'WORD' 4453 | 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:4455:55: note: in expansion of macro 'WORD' 4455 | 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:4474:54: note: in expansion of macro 'WORD' 4474 | 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:4476:49: note: in expansion of macro 'WORD' 4476 | 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:4492:57: note: in expansion of macro 'WORD' 4492 | 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:4504:33: note: in expansion of macro 'WORD' 4504 | 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:4505:33: note: in expansion of macro 'WORD' 4505 | 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:4506:34: note: in expansion of macro 'WORD' 4506 | (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:4508:49: note: in expansion of macro 'WORD' 4508 | 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:4510:53: note: in expansion of macro 'WORD' 4510 | 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:4512:68: note: in expansion of macro 'DWORD' 4512 | 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:4514:66: note: in expansion of macro 'WORD' 4514 | 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:4516:66: note: in expansion of macro 'DWORD' 4516 | 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:4518:64: note: in expansion of macro 'WORD' 4518 | 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:4519:65: note: in expansion of macro 'WORD' 4519 | 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:4520:64: note: in expansion of macro 'WORD' 4520 | 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:4562:51: note: in expansion of macro 'WORD' 4562 | 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:4571:40: note: in expansion of macro 'WORD' 4571 | 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:4623:33: note: in expansion of macro 'WORD' 4623 | 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:4625:33: note: in expansion of macro 'WORD' 4625 | 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:4626:29: note: in expansion of macro 'WORD' 4626 | 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:4626:49: note: in expansion of macro 'WORD' 4626 | 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:4628:41: note: in expansion of macro 'WORD' 4628 | 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:4628:61: note: in expansion of macro 'WORD' 4628 | 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:4629:41: note: in expansion of macro 'WORD' 4629 | 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:4629:61: note: in expansion of macro 'WORD' 4629 | 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:4631:33: note: in expansion of macro 'WORD' 4631 | 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:4637:33: note: in expansion of macro 'DWORD' 4637 | 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:4656:29: note: in expansion of macro 'DWORD' 4656 | 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:4662:63: note: in expansion of macro 'QWORD' 4662 | 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:4669:46: note: in expansion of macro 'DWORD' 4669 | 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:4674:63: note: in expansion of macro 'WORD' 4674 | 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:4676:33: note: in expansion of macro 'WORD' 4676 | 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:4685:41: note: in expansion of macro 'WORD' 4685 | 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:4686:63: note: in expansion of macro 'WORD' 4686 | 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:4688:64: note: in expansion of macro 'WORD' 4688 | 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:4689:63: note: in expansion of macro 'WORD' 4689 | 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:4690:50: note: in expansion of macro 'WORD' 4690 | 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:4691:65: note: in expansion of macro 'DWORD' 4691 | 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:4693:56: note: in expansion of macro 'WORD' 4693 | 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:4703:55: note: in expansion of macro 'WORD' 4703 | 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:4706:29: note: in expansion of macro 'WORD' 4706 | 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:4708:58: note: in expansion of macro 'WORD' 4708 | 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:4710:49: note: in expansion of macro 'DWORD' 4710 | 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:4727:49: note: in expansion of macro 'WORD' 4727 | 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:4729:49: note: in expansion of macro 'DWORD' 4729 | 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:4732:50: note: in expansion of macro 'WORD' 4732 | 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:4734:50: note: in expansion of macro 'WORD' 4734 | 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:4736:50: note: in expansion of macro 'WORD' 4736 | 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:4739:62: note: in expansion of macro 'WORD' 4739 | 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:4743:52: note: in expansion of macro 'WORD' 4743 | 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:4745:47: note: in expansion of macro 'WORD' 4745 | 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:4747:52: note: in expansion of macro 'WORD' 4747 | 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:4749:47: note: in expansion of macro 'WORD' 4749 | 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:4751:62: note: in expansion of macro 'QWORD' 4751 | 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:4753:58: note: in expansion of macro 'QWORD' 4753 | 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:4755:55: note: in expansion of macro 'QWORD' 4755 | 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:4757:57: note: in expansion of macro 'QWORD' 4757 | dmi_memory_size("Logical Size", QWORD(data + 0x4C)); | ^~~~~ types.h:55:25: warning: cast increases required alignment of target type [-Wcast-align] 55 | #define DWORD(x) (u32)(*(const u32 *)(x)) | ^ dmidecode.c:4769:51: note: in expansion of macro 'DWORD' 4769 | 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:4771:56: note: in expansion of macro 'DWORD' 4771 | 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:4773:56: note: in expansion of macro 'DWORD' 4773 | 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:4775:56: note: in expansion of macro 'DWORD' 4775 | 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:4781:50: note: in expansion of macro 'DWORD' 4781 | 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:4785:41: note: in expansion of macro 'QWORD' 4785 | 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:4786:39: note: in expansion of macro 'QWORD' 4786 | 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:4797:41: note: in expansion of macro 'DWORD' 4797 | 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:4798:42: note: in expansion of macro 'DWORD' 4798 | (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:4800:41: note: in expansion of macro 'DWORD' 4800 | 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:4801:43: note: in expansion of macro 'DWORD' 4801 | ((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:4802:57: note: in expansion of macro 'DWORD' 4802 | 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:4802:78: note: in expansion of macro 'DWORD' 4802 | 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:4806:41: note: in expansion of macro 'WORD' 4806 | 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:4814:50: note: in expansion of macro 'DWORD' 4814 | 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:4818:41: note: in expansion of macro 'QWORD' 4818 | 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:4819:39: note: in expansion of macro 'QWORD' 4819 | 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:4830:41: note: in expansion of macro 'DWORD' 4830 | 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:4831:42: note: in expansion of macro 'DWORD' 4831 | (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:4833:41: note: in expansion of macro 'DWORD' 4833 | 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:4834:43: note: in expansion of macro 'DWORD' 4834 | ((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:4835:57: note: in expansion of macro 'DWORD' 4835 | 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:4835:78: note: in expansion of macro 'DWORD' 4835 | 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:4840:41: note: in expansion of macro 'WORD' 4840 | 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:4842:41: note: in expansion of macro 'WORD' 4842 | 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:4879:54: note: in expansion of macro 'WORD' 4879 | 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:4881:54: note: in expansion of macro 'WORD' 4881 | 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:4882:45: note: in expansion of macro 'WORD' 4882 | 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:4889:41: note: in expansion of macro 'WORD' 4889 | 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:4892:49: note: in expansion of macro 'WORD' 4892 | 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:4893:42: note: in expansion of macro 'WORD' 4893 | (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:4894:41: note: in expansion of macro 'WORD' 4894 | 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:4899:33: note: in expansion of macro 'DWORD' 4899 | 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:4915:63: note: in expansion of macro 'WORD' 4915 | 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:4916:63: note: in expansion of macro 'WORD' 4916 | 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:4917:66: note: in expansion of macro 'WORD' 4917 | 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:4918:59: note: in expansion of macro 'WORD' 4918 | 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:4949:66: note: in expansion of macro 'WORD' 4949 | 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:4950:66: note: in expansion of macro 'WORD' 4950 | 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:4951:54: note: in expansion of macro 'WORD' 4951 | 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:4952:62: note: in expansion of macro 'WORD' 4952 | 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:4953:44: note: in expansion of macro 'WORD' 4953 | 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:4955:33: note: in expansion of macro 'DWORD' 4955 | 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:4957:66: note: in expansion of macro 'WORD' 4957 | 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:4963:58: note: in expansion of macro 'WORD' 4963 | 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:4965:41: note: in expansion of macro 'WORD' 4965 | 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:4974:33: note: in expansion of macro 'DWORD' 4974 | 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:4976:50: note: in expansion of macro 'WORD' 4976 | 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:4991:53: note: in expansion of macro 'WORD' 4991 | 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:4993:53: note: in expansion of macro 'WORD' 4993 | 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:4994:58: note: in expansion of macro 'WORD' 4994 | 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:4996:53: note: in expansion of macro 'WORD' 4996 | 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:4997:44: note: in expansion of macro 'WORD' 4997 | 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:4999:33: note: in expansion of macro 'DWORD' 4999 | 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:5002:53: note: in expansion of macro 'WORD' 5002 | 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:5015:49: note: in expansion of macro 'WORD' 5015 | 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:5017:49: note: in expansion of macro 'WORD' 5017 | 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:5018:54: note: in expansion of macro 'WORD' 5018 | 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:5020:49: note: in expansion of macro 'WORD' 5020 | 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:5021:44: note: in expansion of macro 'WORD' 5021 | 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:5023:33: note: in expansion of macro 'DWORD' 5023 | 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:5026:49: note: in expansion of macro 'WORD' 5026 | 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:5046:33: note: in expansion of macro 'DWORD' 5046 | 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:5047:33: note: in expansion of macro 'DWORD' 5047 | 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:5049:33: note: in expansion of macro 'DWORD' 5049 | 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:5068:51: note: in expansion of macro 'DWORD' 5068 | 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:5070:56: note: in expansion of macro 'QWORD' 5070 | 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:5072:56: note: in expansion of macro 'QWORD' 5072 | 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:5074:56: note: in expansion of macro 'DWORD' 5074 | 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:5085:33: note: in expansion of macro 'DWORD' 5085 | 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:5098:41: note: in expansion of macro 'WORD' 5098 | 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:5100:41: note: in expansion of macro 'WORD' 5100 | 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:5101:37: note: in expansion of macro 'WORD' 5101 | 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:5103:49: note: in expansion of macro 'WORD' 5103 | 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:5110:29: note: in expansion of macro 'WORD' 5110 | 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:5112:46: note: in expansion of macro 'WORD' 5112 | (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:5113:29: note: in expansion of macro 'WORD' 5113 | 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:5115:46: note: in expansion of macro 'WORD' 5115 | (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:5116:29: note: in expansion of macro 'WORD' 5116 | 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:5118:46: note: in expansion of macro 'WORD' 5118 | (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:5119:29: note: in expansion of macro 'WORD' 5119 | 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:5121:46: note: in expansion of macro 'WORD' 5121 | (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:5122:29: note: in expansion of macro 'WORD' 5122 | 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:5124:46: note: in expansion of macro 'WORD' 5124 | (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:5125:29: note: in expansion of macro 'WORD' 5125 | 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:5127:46: note: in expansion of macro 'WORD' 5127 | (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:5203:48: note: in expansion of macro 'WORD' 5203 | 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:5204:29: note: in expansion of macro 'WORD' 5204 | 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:5206:66: note: in expansion of macro 'WORD' 5206 | 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:5210:56: note: in expansion of macro 'WORD' 5210 | 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:5212:67: note: in expansion of macro 'WORD' 5212 | 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:5214:33: note: in expansion of macro 'WORD' 5214 | 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:5216:33: note: in expansion of macro 'WORD' 5216 | 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:5220:37: note: in expansion of macro 'WORD' 5220 | 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:5222:49: note: in expansion of macro 'WORD' 5222 | 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:5223:37: note: in expansion of macro 'WORD' 5223 | 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:5225:49: note: in expansion of macro 'WORD' 5225 | 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:5226:37: note: in expansion of macro 'WORD' 5226 | 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:5228:49: note: in expansion of macro 'WORD' 5228 | 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:5248:51: note: in expansion of macro 'WORD' 5248 | 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:5294:49: note: in expansion of macro 'DWORD' 5294 | 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:5295:49: note: in expansion of macro 'DWORD' 5295 | 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:5305:49: note: in expansion of macro 'QWORD' 5305 | 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:5309:33: note: in expansion of macro 'DWORD' 5309 | 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:5324:55: note: in expansion of macro 'QWORD' 5324 | 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:5326:54: note: in expansion of macro 'WORD' 5326 | 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:5358:21: note: in expansion of macro 'WORD' 5358 | 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:5745:18: note: in expansion of macro 'QWORD' 5745 | 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:5753:15: note: in expansion of macro 'DWORD' 5753 | 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:5835:15: note: in expansion of macro 'WORD' 5835 | 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:5836:15: note: in expansion of macro 'WORD' 5836 | 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:5837:31: note: in expansion of macro 'DWORD' 5837 | 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:5876:15: note: in expansion of macro 'WORD' 5876 | 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:5877:15: note: in expansion of macro 'WORD' 5877 | 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:5878:31: note: in expansion of macro 'DWORD' 5878 | 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 >>> dmidecode-doc*: Running split function doc... >>> dmidecode-doc*: Preparing subpackage dmidecode-doc... >>> dmidecode-doc*: Running postcheck for dmidecode-doc >>> dmidecode*: Running postcheck for dmidecode >>> dmidecode*: Preparing package dmidecode... >>> dmidecode*: Stripping binaries >>> dmidecode-doc*: Scanning shared objects >>> dmidecode*: Scanning shared objects >>> 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.5-r1.apk >>> dmidecode*: Tracing dependencies... so:libc.musl-armhf.so.1 >>> dmidecode*: Package size: 124.0 KB >>> dmidecode*: Compressing data... >>> dmidecode*: Create checksum... >>> dmidecode*: Create dmidecode-3.5-r1.apk >>> dmidecode: Build complete at Thu, 20 Apr 2023 02:09:17 +0000 elapsed time 0h 0m 3s >>> dmidecode: Cleaning up srcdir >>> dmidecode: Cleaning up pkgdir >>> dmidecode: Uninstalling dependencies... (1/1) Purging .makedepends-dmidecode (20230420.020915) OK: 326 MiB in 97 packages >>> dmidecode: Updating the main/armhf repository index... >>> dmidecode: Signing the index...