2 Oct
2015
2 Oct
'15
8:47 p.m.
Takashi Iwai wrote:
kbuild test robot wrote:
sound/firewire/tascam/tascam.c:23:16: sparse: cast to restricted __be32
23 data = be32_to_cpu(fw_dev->config_rom[28]);
The code itself looks correct. data is CPU endian. The problem looks rather like that fw_dev->config_rom[] is u32.
Stefan, can it be changed to __be32 instead?
config_rom[] is CPU endian, too.
Strings should be read with fw_csr_string().
Regards, Clemens