[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CO2PR11MB0088B7B0FC2202287F8BD2FE971E0@CO2PR11MB0088.namprd11.prod.outlook.com>
Date: Thu, 11 Aug 2016 10:22:03 +0000
From: Yuval Mintz <Yuval.Mintz@...gic.com>
To: Hariprasad Shenai <hariprasad@...lsio.com>,
netdev <netdev@...r.kernel.org>
CC: David Miller <davem@...emloft.net>,
"leedom@...lsio.com" <leedom@...lsio.com>,
"nirranjan@...lsio.com" <nirranjan@...lsio.com>
Subject: RE: [PATCHv3 net-next 1/2] cxgb4: Add control net_device for
configuring PCIe VF
> + adapter->mbox_log = kzalloc(sizeof(*adapter->mbox_log) +
> + (sizeof(struct mbox_cmd) *
> + T4_OS_LOG_MBOX_CMDS),
> + GFP_KERNEL);
> + pi = netdev_priv(netdev);
You probably want to check mbox_log allocation.
Powered by blists - more mailing lists