diff options
| author | Jijie Shao <shaojijie@huawei.com> | 2026-08-07 17:54:34 +0800 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-08-11 16:01:54 +0200 |
| commit | b8f554e13899fe2635a59f0260eec9a047247009 (patch) | |
| tree | 8719e0ad53c4acc91c81aaadec296f5c7bb0aa55 /tools/perf/scripts/python/bin | |
| parent | 4f20c628b62eb86babdc28cbd1befa6bd858a62d (diff) | |
net: hns3: add missing const qualifier to hclge_log_error() reg parameter
The reg parameter of hclge_log_error() is never modified within the
function, but is declared as 'char *'. Callers pass const strings,
causing a compiler warning about discarding the 'const' qualifier.
Add the missing const to fix the warning.
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260807095435.2959246-3-shaojijie@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
