mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-21 00:12:47 +00:00
Fix the following smatch warning:
smatch warnings:
drivers/net/ethernet/microchip/vcap/vcap_api_debugfs.c:103 vcap_debugfs_show_rule_keyfield() error: uninitialized symbol 'value'.
drivers/net/ethernet/microchip/vcap/vcap_api_debugfs.c:106 vcap_debugfs_show_rule_keyfield() error: uninitialized symbol 'mask'.
In case the vcap field was VCAP_FIELD_U128 and the key was different
than IP6_S/DIP then the value and mask were not initialized, therefore
initialize them.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| vcap_ag_api.h | ||
| vcap_api_client.h | ||
| vcap_api_debugfs_kunit.c | ||
| vcap_api_debugfs.c | ||
| vcap_api_debugfs.h | ||
| vcap_api_kunit.c | ||
| vcap_api_private.h | ||
| vcap_api.c | ||
| vcap_api.h | ||
| vcap_model_kunit.c | ||
| vcap_model_kunit.h | ||