The patch titled cxgb2: handle possible NULL pointer dereferencing has been removed from the -mm tree. Its filename was cxgb2-handle-possible-null-pointer-dereferencing-take-2.patch This patch was dropped because it was nacked ------------------------------------------------------ Subject: cxgb2: handle possible NULL pointer dereferencing From: "pradeep singh" <pradeep.rautela@xxxxxxxxx> Signed-off-by: Pradeep Singh <pradeep.rautela@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/net/chelsio/cxgb2.c | 5 +++++ 1 file changed, 5 insertions(+) diff -puN drivers/net/chelsio/cxgb2.c~cxgb2-handle-possible-null-pointer-dereferencing-take-2 drivers/net/chelsio/cxgb2.c --- a/drivers/net/chelsio/cxgb2.c~cxgb2-handle-possible-null-pointer-dereferencing-take-2 +++ a/drivers/net/chelsio/cxgb2.c @@ -1022,6 +1022,11 @@ static int __devinit init_one(struct pci mmio_start = pci_resource_start(pdev, 0); mmio_len = pci_resource_len(pdev, 0); bi = t1_get_board_info(ent->driver_data); + if (!bi) { + CH_ERR("%s: Board info array index out of range\n", + pci_name(pdev)); + goto out_disable_pdev; + } for (i = 0; i < bi->port_number; ++i) { struct net_device *netdev; _ Patches currently in -mm which might be from pradeep.rautela@xxxxxxxxx are cxgb2-handle-possible-null-pointer-dereferencing-take-2.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html