aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-05-15 13:32:37 +0300
committerHans de Goede <hdegoede@redhat.com>2023-05-15 14:56:22 +0200
commit95e4b25192e9238fd2dbe85d96dd2f8fd1ce9d14 (patch)
treefb41a0a0fc3204148e5e47627916711ffd02d0b6 /scripts/generate_rust_analyzer.py
parentplatform/x86/amd/pmf: Fix CnQF and auto-mode after resume (diff)
downloadwireguard-linux-95e4b25192e9238fd2dbe85d96dd2f8fd1ce9d14.tar.xz
wireguard-linux-95e4b25192e9238fd2dbe85d96dd2f8fd1ce9d14.zip
platform/mellanox: mlxbf-pmc: fix sscanf() error checking
The sscanf() function never returns negatives. It returns the number of items successfully read. Fixes: 1a218d312e65 ("platform/mellanox: mlxbf-pmc: Add Mellanox BlueField PMC driver") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/4ccdfd28-099b-40bf-8d77-ad4ea2e76b93@kili.mountain Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions