Bug 2736 - lib/nlattr.c:660: warning: Excess function parameter 'policy' description in 'nla_policy_len'
Summary: lib/nlattr.c:660: warning: Excess function parameter 'policy' description in ...
Status: NEW
Alias: None
Product: Upstream
Classification: Unclassified
Component: others (show other bugs) others
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: abaci-robot
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-04 14:29 UTC by abaci-robot
Modified: 2022-11-04 14:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abaci-robot alibaba_cloud_group 2022-11-04 14:29:19 UTC
ABACI reported the following bug by code static scanning:

lib/nlattr.c:660: warning: Function parameter or member 'p' not described in 'nla_policy_len'
lib/nlattr.c:660: warning: Excess function parameter 'policy' description in 'nla_policy_len'

In the following kernel version:

name: linux-next
url: http://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/next/linux-next.git
branch: next-20221104
commit: 0cdb3579f1ee4c1e55acf8dfb0697b660067b1f8