diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-08 21:29:00 +0900 |
|---|---|---|
| committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-08 21:35:41 +0900 |
| commit | cab1f28a37e8f2d0ace3ec63f45ec050cbfe8506 (patch) | |
| tree | 3b4fb0dd68bcd7ea3f0333caea3e56f686e583c9 | |
| parent | 56a9d625c91d5d89c41369be5e86f4adb867d7f6 (diff) | |
| download | linux-next-cab1f28a37e8f2d0ace3ec63f45ec050cbfe8506.tar.gz linux-next-cab1f28a37e8f2d0ace3ec63f45ec050cbfe8506.zip | |
firewire: core: fix type of hard-coded image in config ROM generator test
The type of the hard-coded configuration ROM image should be __be32
instead of u32.
Fixes: ee9a8c9afb57 ("firewire: core: add test for root directory generation in config ROM generator")
Fixes: 996096154e7b ("firewire: core: add test to generate with AV/C unit in config ROM generator")
Fixes: 7bd19bbed9ea ("firewire: core: add test to generate with IIDC unit in config ROM generator")
Fixes: c3b64c7d752c ("firewire: core: add test to generate with both AV/C and IIDC units in config ROM generator")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202609060630.rC0Zz88P-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202609061023.GbWS6Skb-lkp@intel.com/
Link: https://lore.kernel.org/r/20260908122900.2886661-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
| -rw-r--r-- | drivers/firewire/config-rom-generator-test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/firewire/config-rom-generator-test.c b/drivers/firewire/config-rom-generator-test.c index 212dbdcd43ba..dd2e71213209 100644 --- a/drivers/firewire/config-rom-generator-test.c +++ b/drivers/firewire/config-rom-generator-test.c @@ -9,7 +9,7 @@ #include <kunit/test.h> #include <kunit/device.h> -static const u32 config_rom_bare[] = { +static const __be32 config_rom_bare[] = { cpu_to_be32(0x0404921b), // bus info cpu_to_be32(0x31333934), // | cpu_to_be32(0xf000b223), // | @@ -52,7 +52,7 @@ static const u32 avc_unit_directory_and_leaf[] = { 0x50756900, // Pui is the name of a cat that the author takes care of. }; -static const u32 config_rom_with_avc_unit[] = { +static const __be32 config_rom_with_avc_unit[] = { cpu_to_be32(0x0404c1e5), // bus info cpu_to_be32(0x31333934), // | cpu_to_be32(0xf000b233), // | @@ -116,7 +116,7 @@ static const u32 iidc_unit_directories_and_leafs[] = { 0x20436174, }; -static const u32 config_rom_with_iidc_unit[] = { +static const __be32 config_rom_with_iidc_unit[] = { cpu_to_be32(0x04046a3e), // bus info cpu_to_be32(0x31333934), // | cpu_to_be32(0xf000b243), // | @@ -162,7 +162,7 @@ static const u32 config_rom_with_iidc_unit[] = { cpu_to_be32(0x20436174), // v }; -static const u32 config_rom_with_avc_and_iidc_units[] = { +static const __be32 config_rom_with_avc_and_iidc_units[] = { cpu_to_be32(0x040439c0), // bus info cpu_to_be32(0x31333934), // | cpu_to_be32(0xf000b253), // | |
