Bug 2207 - drivers/spmi/spmi.c:414: warning: expecting prototype for spmi_controller_alloc(). Prototype was for spmi_device_alloc() instead
Summary: drivers/spmi/spmi.c:414: warning: expecting prototype for spmi_controller_all...
Status: NEW
Alias: None
Product: Upstream
Classification: Unclassified
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: abaci-robot
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-19 10:54 UTC by abaci-robot
Modified: 2022-09-19 10:54 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-09-19 10:54:42 UTC
ABACI reported the following bug by code static scanning:

drivers/spmi/spmi.c:414: warning: expecting prototype for spmi_controller_alloc(). Prototype was for spmi_device_alloc() instead.


In the following kernel version:

[+]kernel: http://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/next/linux-next.git
[+]branch: next-20220913
[+]commit: 044b771be9c5de9d817dfafb829d2f049c71c3b4