Bug 2340 - kernel/trace/ring_buffer.c:5382: warning: expecting prototype for rind_buffer_empty(). Prototype was for ring_buffer_empty() instead
Summary: kernel/trace/ring_buffer.c:5382: warning: expecting prototype for rind_buffer...
Status: RESOLVED FIXED
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-10-08 14:43 UTC by abaci-robot
Modified: 2022-10-18 17:24 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-10-08 14:43:11 UTC
ABACI reported the following bug by code static scanning:

kernel/trace/ring_buffer.c:5382: warning: expecting prototype for rind_buffer_empty(). Prototype was for ring_buffer_empty() instead.

kernel/trace/ring_buffer.c:5313: warning: expecting prototype for ring_buffer_reset_cpu(). Prototype was for ring_buffer_reset_online_cpus() instead.

kernel/trace/ring_buffer.c:895: warning: expecting prototype for ring_buffer_nr_pages_dirty(). Prototype was for ring_buffer_nr_dirty_pages() instead.

In the following kernel version:

[+]kernel: http://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/next/linux-next.git
[+]branch: next-20221006
[+]commit: 7da9fed0474b4cd46055dd92d55c42faf32c19ac
Comment 1 abaci-robot alibaba_cloud_group 2022-10-18 17:24:22 UTC
submitted to upstream:
https://lore.kernel.org/all/20221012220051.576066367@goodmis.org/