• Takashi Sakamoto's avatar
    Revert "firewire: ohci: use common macro to interpret be32 data in le32 buffer" · 9f349e8e
    Takashi Sakamoto authored
    This reverts commit f26a38e6, since it
    causes the following sparse warnings:
    
    sparse warnings: (new ones prefixed by >>)
    >> drivers/firewire/ohci.c:891:23: sparse: sparse: cast to restricted __be32
    >> drivers/firewire/ohci.c:891:23: sparse: sparse: cast from restricted __le32
       drivers/firewire/ohci.c:892:23: sparse: sparse: cast to restricted __be32
       drivers/firewire/ohci.c:892:23: sparse: sparse: cast from restricted __le32
       drivers/firewire/ohci.c:893:23: sparse: sparse: cast to restricted __be32
       drivers/firewire/ohci.c:893:23: sparse: sparse: cast from restricted __le32
       drivers/firewire/ohci.c:905:31: sparse: sparse: cast to restricted __be32
       drivers/firewire/ohci.c:905:31: sparse: sparse: cast from restricted __le32
       drivers/firewire/ohci.c:914:31: sparse: sparse: cast to restricted __be32
       drivers/firewire/ohci.c:914:31: sparse: sparse: cast from restricted __le32
       drivers/firewire/ohci.c:939:18: sparse: sparse: cast to restricted __be32
       drivers/firewire/ohci.c:939:18: sparse: sparse: cast from restricted __le32
       drivers/firewire/ohci.c:2033:23: sparse: sparse: cast to restricted __be32
       drivers/firewire/ohci.c:2033:23: sparse: sparse: cast from restricted __le32
       drivers/firewire/ohci.c:2037:27: sparse: sparse: cast to restricted __be32
       drivers/firewire/ohci.c:2037:27: sparse: sparse: cast from restricted __le32
       drivers/firewire/ohci.c:2038:27: sparse: sparse: cast to restricted __be32
       drivers/firewire/ohci.c:2038:27: sparse: sparse: cast from restricted __le32
    Reported-by: default avatarkernel test robot <lkp@intel.com>
    Closes: https://lore.kernel.org/oe-kbuild-all/202407050656.03bw1YXA-lkp@intel.com/
    Link: https://lore.kernel.org/r/20240707134523.11784-1-o-takashi@sakamocchi.jpSigned-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
    9f349e8e
ohci.c 110 KB