Bug 1846 - ./drivers/thermal/qcom/qcom-spmi-adc-tm5.c:1029:2-9: line 1029 is redundant because platform_get_irq() already prints an error
Summary: ./drivers/thermal/qcom/qcom-spmi-adc-tm5.c:1029:2-9: line 1029 is redundant b...
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-08-09 11:28 UTC by abaci-robot
Modified: 2022-09-02 10:44 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-09 11:28:43 UTC
ABACI reported the following bug by code static scanning:

./drivers/thermal/qcom/qcom-spmi-adc-tm5.c:1029:2-9: line 1029 is redundant because platform_get_irq() already prints an error.


In the following kernel version:

[+]kernel: http://kernel.source.codeaurora.cn/pub/scm/linux/kernel/git/next/linux-next.git
[+]branch: next-20220805
[+]commit: e894659f149e779bc1b49016231d75994f6a29e9
Comment 1 abaci-robot alibaba_cloud_group 2022-09-02 10:40:58 UTC
submitted to upstream:
https://lore.kernel.org/all/YvK39TTGdgHV1HSb@baldur/
Comment 2 abaci-robot alibaba_cloud_group 2022-09-02 10:44:46 UTC
submitted to upstream:
https://lore.kernel.org/all/166125856489.401.13603202925739175296.tip-bot2@tip-bot2/