1. 17 7月, 2021 4 次提交
  2. 16 7月, 2021 6 次提交
  3. 15 7月, 2021 9 次提交
  4. 15 6月, 2021 1 次提交
  5. 03 6月, 2021 4 次提交
  6. 09 4月, 2021 3 次提交
  7. 09 3月, 2021 3 次提交
  8. 27 1月, 2021 2 次提交
  9. 07 12月, 2020 1 次提交
    • H
      net: hns3: remove a misused pragma packed · 61f54de2
      Huazhong Tan 提交于
      hclge_dbg_reg_info[] is defined as an array of packed structure
      accidentally. However, this array contains pointers, which are
      no longer aligned naturally, and cannot be relocated on PPC64.
      Hence, when compile-testing this driver on PPC64 with
      CONFIG_RELOCATABLE=y (e.g. PowerPC allyesconfig), there will be
      some warnings.
      
      Since each field in structure hclge_qos_pri_map_cmd and
      hclge_dbg_bitmap_cmd is type u8, the pragma packed is unnecessary
      for these two structures as well, so remove the pragma packed in
      hclge_debugfs.h to fix this issue, and this increases
      hclge_dbg_reg_info[] by 4 bytes per entry.
      
      Fixes: a582b78d ("net: hns3: code optimization for debugfs related to "dump reg"")
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NHuazhong Tan <tanhuazhong@huawei.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      61f54de2
  10. 27 10月, 2020 1 次提交
  11. 28 9月, 2020 6 次提交