(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

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 Commit Parent 806487df
+4
1 changed file
+4
1 changed file