qcacmn: Check target address boundary before access
Athdiag procfs entry does not have address sanity check, this is resulting in invalid ioread32/iowrite32 if out of PCIE BAR address is used. Fix this by allowing address with in PCIE BAR range. Change-Id: I8365eacca7ccc4f489b7d0bda6c998384d0fec7b CRs-Fixed: 2112270
This commit is contained in:

committed by
snandini

parent
5b55c8e857
commit
6f752b487b
@@ -372,3 +372,8 @@ int hif_dummy_map_ce_to_irq(struct hif_softc *scn, int ce_id)
|
||||
return -(1);
|
||||
}
|
||||
|
||||
int hif_dummy_addr_in_boundary(struct hif_softc *scn, uint32_t offset)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user