[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adafx8tc6cu.fsf@roland-alpha.cisco.com>
Date: Thu, 05 Nov 2009 07:57:05 -0800
From: Roland Dreier <rdreier@...co.com>
To: "Liran Liss" <liranl@...lanox.co.il>
Cc: "Yevgeny Petrilin" <yevgenyp@...lanox.co.il>,
<linux-rdma@...r.kernel.org>, <netdev@...r.kernel.org>,
"Tziporet Koren" <tziporet@...lanox.co.il>
Subject: Re: [PATCH 16/25] mlx4_core: boot sriov
> LL: I think that this won't pass -Wall when compiling against a kernel
> with sriov compiled out.
Why not? The sriov code provides stubs like:
static inline int pci_enable_sriov(struct pci_dev *dev, int nr_virtfn)
{
return -ENODEV;
}
if CONFIG_PCI_IOV is not enabled.
- R.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists