commit | cbd784424577a6df7a7592e9904a22b5c5d599b7 | [log] [tgz] |
---|---|---|
author | Sergei Antonov <saproj@gmail.com> | Wed Nov 02 08:41:15 2022 +0300 |
committer | Michal Kubecek <mkubecek@suse.cz> | Wed Nov 02 09:00:04 2022 +0100 |
tree | 79b93a6277cc6fa55a6022ccb0e59c7b171dcb76 | |
parent | 1b7d16496cc8eae7857746f04c845282f27ea7a7 [diff] |
fix a warning when compiling for 32-bit Since BNXT_PCIE_STATS_LEN is size_t: ../../ethtool/bnxt.c:66:68: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 66 | fprintf(stdout, "Length is too short, expected 0x%lx\n", | ~~^ | | | long unsigned int | %x Fixes: a2f813eeecf1 ("bnxt: Add Broadcom driver support.") Signed-off-by: Sergei Antonov <saproj@gmail.com>