[dahdi-commits] dahdi/linux.git branch "2.6.y" updated.
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Fri Jun 7 11:22:39 CDT 2013
branch "2.6.y" has been updated
via 104745a7750a68feda9af6ab892e91df0d5fa8fa (commit)
from 20a479b61a5abfc0cd8256e719e2a4db2c23b5ef (commit)
Summary of changes:
drivers/dahdi/wctc4xxp/base.c | 1 +
1 file changed, 1 insertion(+)
- Log -----------------------------------------------------------------
commit 104745a7750a68feda9af6ab892e91df0d5fa8fa
Author: Shaun Ruffell <sruffell at digium.com>
Date: Tue May 28 11:52:07 2013 -0500
wctc4xxp: Ensure the descriptors are zeroed out on start.
If system conditions prevent the card from loading the firmware without
touching all the descriptors in the ring, it's possible for
wctc4xxp_cleanup_descriptor_ring to attempt cleanup of a command that was never
submitted resulting in the following BUG.
wctc4xxp 0000:02:0a.0: Failed to load firmware.
BUG: unable to handle kernel paging request at c109556c
IP: [<f9faa83e>] wctc4xxp_cleanup_descriptor_ring+0x8c/0x148 [wctc4xxp]
Reported-by: Xavier Carcelle <xcarcelle at avencall.com>
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
(cherry picked from commit 040ba6f43a3cd519c8cf4c996fb6d6ed117e0a1a)
diff --git a/drivers/dahdi/wctc4xxp/base.c b/drivers/dahdi/wctc4xxp/base.c
index 29579d3..53f1995 100644
--- a/drivers/dahdi/wctc4xxp/base.c
+++ b/drivers/dahdi/wctc4xxp/base.c
@@ -877,6 +877,7 @@ wctc4xxp_initialize_descriptor_ring(struct pci_dev *pdev,
memset(dr->desc, 0, (sizeof(*d) + dr->padding) * DRING_SIZE);
for (i = 0; i < DRING_SIZE; ++i) {
d = wctc4xxp_descriptor(dr, i);
+ memset(d, 0, sizeof(*d));
d->des1 = cpu_to_le32(des1);
}
-----------------------------------------------------------------------
--
dahdi/linux.git
More information about the dahdi-commits
mailing list