commit | 8cf506171bc585fccc2ae7537cf48fbfd8560d29 | [log] [tgz] |
---|---|---|
author | Manikandan Mohan <manikand@codeaurora.org> | Mon Apr 10 13:23:32 2017 -0700 |
committer | snandini <snandini@codeaurora.org> | Tue May 02 13:29:39 2017 -0700 |
tree | 94fc919f36f3526942287edc49c6e356b54795f7 | |
parent | 83c939c474730d2871b364da1fc3ee875457068b [diff] [blame] |
qcacld-3.0: Fix kernel module check patch warnings in PLD files Fix kernel module check patch warnings in PLD files Change-Id: Ic0473118a4799cc74eaa8684257013f8f38a746a CRs-fixed: 2030824
diff --git a/core/pld/src/pld_pcie.c b/core/pld/src/pld_pcie.c index 8e5c251..fa9ab17 100644 --- a/core/pld/src/pld_pcie.c +++ b/core/pld/src/pld_pcie.c
@@ -521,6 +521,7 @@ int pld_pcie_get_ce_id(int irq) { int ce_id = irq - 100; + if (ce_id < CE_COUNT_MAX && ce_id >= 0) return ce_id;