Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
net: enetc: document enetc_msg_vsi_send() return values
Smatch combines the return values together and wants all the callers to handle the positive values so it leads to static checker warnings. Add a comment explaining the return values. Generally functions which return non-standard values should have a comment. Signed-off-by: Dan Carpenter <error27@gmail.com> Link: https://patch.msgid.link/09f24cefc214455305543a0528ceae6349c77419.1790357822.git.error27@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Author Dan Carpenter Committer Jakub Kicinski Date (Sep 30, 2026, 1:15 AM UTC) Commit
Copy SHA
Parent 806487df 806487df0088ff5f87890fadf95594d2afc00ff5