Skip to content

hisilicon hns warning fixes for gcc-7.0.1

Arnd Bergmann linux-rdma lkml netdev 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3net: hns: fix uninitialized data usedrivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c+3 -21 reply
2/3net: hns: avoid gcc-7.0.1 warning for uninitialized datadrivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c+1 -01 reply
3/3infiniband: hns: avoid gcc-7.0.1 warning for uninitialized datadrivers/infiniband/hw/hns/hns_roce_hw_v1.c+1 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RESEND PATCH 0/3] hisilicon hns warning fixes for gcc-7.0.1

Building with gcc-7 found three new warnings in the hns ethernet and rdma drivers. Only one of them appears to be an actual bug, the other two are variations of a single problem, but are unfortunately part of different subsystems.

I'm resending all three patches to both the ethernet and the rdma maintainers, as the first submission was a bit confusing when only part of the series arrived for a subset of maintainers, sorry about that.

All three patches are address issues in released kernels and apply to v4.11-rc3 or linux-next.

Arnd

Arnd Bergmann
net: hns: fix uninitialized data use
net: hns: avoid gcc-7.0.1 warning for uninitialized data
infiniband: hns: avoid gcc-7.0.1 warning for uninitialized data

 drivers/infiniband/hw/hns/hns_roce_hw_v1.c         | 1 +
 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)
Signature · 24 lines
2.9.0

Cc: Lijun Ou <[email protected]>
Cc: "Wei Hu(Xavier)" <[email protected]>
Cc: Daode Huang <huangdaode-C8/M+/[email protected]>
Cc: Kejian Yan <[email protected]>
Cc: Qianqian Xie <[email protected]>
Cc: Wei Yongjun <[email protected]>
Cc: Yisen Zhuang <[email protected]>
Cc: Salil Mehta <[email protected]>

Cc: Doug Ledford <[email protected]>
Cc: Sean Hefty <[email protected]>
Cc: Hal Rosenstock <[email protected]>
Cc: "David S. Miller" <davem-fT/PcQaiUtIeIZ0/[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html