Bug 2152 - drivers/dma/ti/edma.c:746:31: warning: unused function 'to_edma_cc'
Summary: drivers/dma/ti/edma.c:746:31: warning: unused function 'to_edma_cc'
Status: RESOLVED FIXED
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-14 17:06 UTC by abaci-robot
Modified: 2022-10-11 10:38 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-14 17:06:00 UTC
ABACI reported the following bug by code static scanning:

drivers/dma/ti/edma.c:746:31: warning: unused function 'to_edma_cc'.
drivers/dma/ti/edma.c:420:20: warning: unused function 'edma_param_or'.
drivers/dma/ti/edma.c:414:20: warning: unused function 'edma_param_and'.
drivers/dma/ti/edma.c:402:20: warning: unused function 'edma_param_write'.
drivers/dma/ti/edma.c:373:28: warning: unused function 'edma_shadow0_read'.
drivers/dma/ti/edma.c:396:28: warning: unused function 'edma_param_read'.
drivers/dma/ti/edma.c:355:20: warning: unused function 'edma_or_array'.

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
Comment 1 abaci-robot alibaba_cloud_group 2022-10-11 10:38:47 UTC
submitted to upstream:
https://lore.kernel.org/all/68297aa6-5ca9-91d9-28de-71e439e3e1c7@gmail.com/