Bug 1901 - fs/kernel_read_file.c: warning: In 'kernel_read_file', function parameter or member are not described
Summary: fs/kernel_read_file.c: warning: In 'kernel_read_file', function parameter or ...
Status: NEW
Alias: None
Product: Upstream
Classification: Unclassified
Component: fs (show other bugs) fs
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: abaci-robot
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-15 13:34 UTC by abaci-robot
Modified: 2022-08-15 13:34 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-08-15 13:34:56 UTC
ABACI reported the following bug by code static scanning:

fs/kernel_read_file.c:38: warning: Function parameter or member 'file' not described in 'kernel_read_file'
fs/kernel_read_file.c:38: warning: Function parameter or member 'offset' not described in 'kernel_read_file'
fs/kernel_read_file.c:38: warning: Function parameter or member 'buf' not described in 'kernel_read_file'
fs/kernel_read_file.c:38: warning: Function parameter or member 'buf_size' not described in 'kernel_read_file'
fs/kernel_read_file.c:38: warning: Function parameter or member 'file_size' not described in 'kernel_read_file'
fs/kernel_read_file.c:38: warning: Function parameter or member 'id' not described in 'kernel_read_file'

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-20220815
commit: fa96acf505e0e5f4774e273d97cee65fffcf53e6


Type a sub-component name