1. 04 12月, 2021 2 次提交
  2. 02 12月, 2021 1 次提交
  3. 27 11月, 2021 1 次提交
  4. 22 11月, 2021 1 次提交
  5. 01 11月, 2021 1 次提交
  6. 26 10月, 2021 2 次提交
  7. 19 10月, 2021 2 次提交
  8. 15 10月, 2021 1 次提交
  9. 13 10月, 2021 1 次提交
  10. 10 10月, 2021 1 次提交
  11. 09 10月, 2021 2 次提交
  12. 08 10月, 2021 1 次提交
    • T
      qed: Initialize debug string array · d5ac07df
      Tim Gardner 提交于
      Coverity complains of an uninitialized variable.
      
      CID 120847 (#1 of 1): Uninitialized scalar variable (UNINIT)
      3. uninit_use_in_call: Using uninitialized value *sw_platform_str when calling qed_dump_str_param. [show details]
      1344        offset += qed_dump_str_param(dump_buf + offset,
      1345                                     dump, "sw-platform", sw_platform_str);
      
      Fix this by removing dead code that references sw_platform_str.
      
      Fixes: 6c95dd8f ("qed: Update debug related changes")
      
      Cc: Ariel Elior <aelior@marvell.com>
      Cc: GR-everest-linux-l2@marvell.com
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: Shai Malin <smalin@marvell.com>
      Cc: Omkar Kulkarni <okulkarni@marvell.com>
      Cc: Prabhakar Kushwaha <pkushwaha@marvell.com>
      Cc: netdev@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org (open list)
      Signed-off-by: NTim Gardner <tim.gardner@canonical.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d5ac07df
  13. 06 10月, 2021 1 次提交
  14. 04 10月, 2021 13 次提交
  15. 27 9月, 2021 1 次提交
  16. 22 9月, 2021 2 次提交
  17. 13 9月, 2021 1 次提交
  18. 10 9月, 2021 1 次提交
  19. 25 8月, 2021 1 次提交
  20. 24 8月, 2021 1 次提交
  21. 16 8月, 2021 2 次提交
  22. 09 8月, 2021 1 次提交
    • L
      devlink: Set device as early as possible · 919d13a7
      Leon Romanovsky 提交于
      All kernel devlink implementations call to devlink_alloc() during
      initialization routine for specific device which is used later as
      a parent device for devlink_register().
      
      Such late device assignment causes to the situation which requires us to
      call to device_register() before setting other parameters, but that call
      opens devlink to the world and makes accessible for the netlink users.
      
      Any attempt to move devlink_register() to be the last call generates the
      following error due to access to the devlink->dev pointer.
      
      [    8.758862]  devlink_nl_param_fill+0x2e8/0xe50
      [    8.760305]  devlink_param_notify+0x6d/0x180
      [    8.760435]  __devlink_params_register+0x2f1/0x670
      [    8.760558]  devlink_params_register+0x1e/0x20
      
      The simple change of API to set devlink device in the devlink_alloc()
      instead of devlink_register() fixes all this above and ensures that
      prior to call to devlink_register() everything already set.
      Signed-off-by: NLeon Romanovsky <leonro@nvidia.com>
      Reviewed-by: NJiri Pirko <jiri@nvidia.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      919d13a7