* |WARNING| pw108298 [PATCH v3 3/3] net/ixgbe: Fix SFP detection and linking on hotplug
[not found] <20220224152357.12277-4-jeffd@silicom-usa.com>
@ 2022-02-24 15:25 ` checkpatch
2022-02-24 17:19 ` |FAILURE| " 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2022-02-24 15:25 UTC (permalink / raw)
To: test-report; +Cc: Jeff Daly
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/108298
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'last' - possible side-effects?
#233: FILE: drivers/net/ixgbe/ixgbe_ethdev.c:352:
+#define UPDATE_VF_STAT(reg, last, cur) \
+{ \
+ uint32_t latest = IXGBE_READ_REG(hw, reg); \
+ cur += (latest - last) & UINT_MAX; \
+ last = latest; \
+}
CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'last' may be better as '(last)' to avoid precedence issues
#233: FILE: drivers/net/ixgbe/ixgbe_ethdev.c:352:
+#define UPDATE_VF_STAT(reg, last, cur) \
+{ \
+ uint32_t latest = IXGBE_READ_REG(hw, reg); \
+ cur += (latest - last) & UINT_MAX; \
+ last = latest; \
+}
CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'cur' may be better as '(cur)' to avoid precedence issues
#233: FILE: drivers/net/ixgbe/ixgbe_ethdev.c:352:
+#define UPDATE_VF_STAT(reg, last, cur) \
+{ \
+ uint32_t latest = IXGBE_READ_REG(hw, reg); \
+ cur += (latest - last) & UINT_MAX; \
+ last = latest; \
+}
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'last' - possible side-effects?
#240: FILE: drivers/net/ixgbe/ixgbe_ethdev.c:359:
+#define UPDATE_VF_STAT_36BIT(lsb, msb, last, cur) \
+{ \
+ u64 new_lsb = IXGBE_READ_REG(hw, lsb); \
+ u64 new_msb = IXGBE_READ_REG(hw, msb); \
+ u64 latest = ((new_msb << 32) | new_lsb); \
cur += (0x1000000000LL + latest - last) & 0xFFFFFFFFFLL; \
+ last = latest; \
}
CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'last' may be better as '(last)' to avoid precedence issues
#240: FILE: drivers/net/ixgbe/ixgbe_ethdev.c:359:
+#define UPDATE_VF_STAT_36BIT(lsb, msb, last, cur) \
+{ \
+ u64 new_lsb = IXGBE_READ_REG(hw, lsb); \
+ u64 new_msb = IXGBE_READ_REG(hw, msb); \
+ u64 latest = ((new_msb << 32) | new_lsb); \
cur += (0x1000000000LL + latest - last) & 0xFFFFFFFFFLL; \
+ last = latest; \
}
CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'cur' may be better as '(cur)' to avoid precedence issues
#240: FILE: drivers/net/ixgbe/ixgbe_ethdev.c:359:
+#define UPDATE_VF_STAT_36BIT(lsb, msb, last, cur) \
+{ \
+ u64 new_lsb = IXGBE_READ_REG(hw, lsb); \
+ u64 new_msb = IXGBE_READ_REG(hw, msb); \
+ u64 latest = ((new_msb << 32) | new_lsb); \
cur += (0x1000000000LL + latest - last) & 0xFFFFFFFFFLL; \
+ last = latest; \
}
WARNING:TYPO_SPELLING: 'thead' may be misspelled - perhaps 'thread'?
#824: FILE: drivers/net/ixgbe/ixgbe_ethdev.c:3163:
+ PMD_DRV_LOG(ERR, "service_thead err");
total: 0 errors, 1 warnings, 6 checks, 1038 lines checked
^ permalink raw reply [flat|nested] 2+ messages in thread
* |FAILURE| pw108298 [PATCH v3 3/3] net/ixgbe: Fix SFP detection and linking on hotplug
[not found] <20220224152357.12277-4-jeffd@silicom-usa.com>
2022-02-24 15:25 ` |WARNING| pw108298 [PATCH v3 3/3] net/ixgbe: Fix SFP detection and linking on hotplug checkpatch
@ 2022-02-24 17:19 ` 0-day Robot
1 sibling, 0 replies; 2+ messages in thread
From: 0-day Robot @ 2022-02-24 17:19 UTC (permalink / raw)
To: test-report; +Cc: jeffd, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/108298/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/1893912954
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-18.04-gcc-static" failed at step Install packages
"ubuntu-18.04-gcc-static-aarch64" failed at step Install packages
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static" at step Install packages
####################################################################################
Get:19 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 python3-xdg all 0.25-4ubuntu1.1 [31.3 kB]
Fetched 652 kB in 31s (21.0 kB/s)
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/c/ccache/ccache_3.4.1-1_amd64.deb Could not connect to azure.archive.ubuntu.com:80 (52.250.76.244), connection timed out
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libn/libnl3/libnl-route-3-200_3.2.29-0ubuntu3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/r/rdma-core/libibverbs1_17.1-1ubuntu0.2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/r/rdma-core/ibverbs-providers_17.1-1ubuntu0.2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/libc/libcrypto++/libcrypto++6_5.6.4-8_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/libc/libcrypto++/libcrypto++-dev_5.6.4-8_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/j/jansson/libjansson-dev_2.11-1_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libp/libpcap/libpcap0.8-dev_1.8.1-6ubuntu1.18.04.2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libp/libpcap/libpcap-dev_1.8.1-6ubuntu1.18.04.2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/n/ninja-build/ninja-build_1.8.2-1_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/python-crypto/python3-crypto_2.6.1-8ubuntu2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/python-secretstorage/python3-secretstorage_2.3.1-2_all.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/python-keyring/python3-keyring_10.6.0-1_all.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/k/keyrings.alt/python3-keyrings.alt_3.0-1_all.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/python-setuptools/python3-setuptools_39.0.1-2_all.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/w/wheel/python3-wheel_0.30.0-0.2_all.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/d/device-tree-compiler/libfdt1_1.4.5-3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/d/device-tree-compiler/libfdt-dev_1.4.5-3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/r/rdma-core/libibverbs-dev_17.1-1ubuntu0.2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/n/numactl/libnuma-dev_2.0.11-2.1ubuntu0.1_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/python-pyelftools/python3-pyelftools_0.24-4_all.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
##[error]Process completed with exit code 100.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static" at step Install packages
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-18.04-gcc-static-aarch64" at step Install packages
####################################################################################
Get:19 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 python3-xdg all 0.25-4ubuntu1.1 [31.3 kB]
Fetched 652 kB in 32s (20.6 kB/s)
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/c/ccache/ccache_3.4.1-1_amd64.deb Could not connect to azure.archive.ubuntu.com:80 (52.250.76.244), connection timed out
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libn/libnl3/libnl-route-3-200_3.2.29-0ubuntu3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/r/rdma-core/libibverbs1_17.1-1ubuntu0.2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/r/rdma-core/ibverbs-providers_17.1-1ubuntu0.2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/libc/libcrypto++/libcrypto++6_5.6.4-8_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/libc/libcrypto++/libcrypto++-dev_5.6.4-8_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/j/jansson/libjansson-dev_2.11-1_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libp/libpcap/libpcap0.8-dev_1.8.1-6ubuntu1.18.04.2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libp/libpcap/libpcap-dev_1.8.1-6ubuntu1.18.04.2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/n/ninja-build/ninja-build_1.8.2-1_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/python-crypto/python3-crypto_2.6.1-8ubuntu2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/python-secretstorage/python3-secretstorage_2.3.1-2_all.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/python-keyring/python3-keyring_10.6.0-1_all.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/k/keyrings.alt/python3-keyrings.alt_3.0-1_all.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/python-setuptools/python3-setuptools_39.0.1-2_all.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/w/wheel/python3-wheel_0.30.0-0.2_all.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/d/device-tree-compiler/libfdt1_1.4.5-3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/d/device-tree-compiler/libfdt-dev_1.4.5-3_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/r/rdma-core/libibverbs-dev_17.1-1ubuntu0.2_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/n/numactl/libnuma-dev_2.0.11-2.1ubuntu0.1_amd64.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/python-pyelftools/python3-pyelftools_0.24-4_all.deb Unable to connect to azure.archive.ubuntu.com:http:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
##[error]Process completed with exit code 100.
####################################################################################
#### [End job log] "ubuntu-18.04-gcc-static-aarch64" at step Install packages
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-24 16:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20220224152357.12277-4-jeffd@silicom-usa.com>
2022-02-24 15:25 ` |WARNING| pw108298 [PATCH v3 3/3] net/ixgbe: Fix SFP detection and linking on hotplug checkpatch
2022-02-24 17:19 ` |FAILURE| " 0-day Robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).