From: David Miller <davem@davemloft.net>
To: hariprasad@chelsio.com
Cc: netdev@vger.kernel.org, leedom@chelsio.com,
nirranjan@chelsio.com, kumaras@chelsio.com, anish@chelsio.com
Subject: Re: [PATCH net] cxgb4: Don't allocate adapter structure for all PF's
Date: Mon, 15 Sep 2014 17:43:21 -0400 (EDT) [thread overview]
Message-ID: <20140915.174321.1346937613262227470.davem@davemloft.net> (raw)
In-Reply-To: <1410816526-19355-1-git-send-email-hariprasad@chelsio.com>
From: Hariprasad Shenai <hariprasad@chelsio.com>
Date: Tue, 16 Sep 2014 02:58:46 +0530
> commit 35b1de557970 ("rdma/cxgb4: Fixes cxgb4 probe failure in VM when PF is
> exposed through PCI Passthrough") moved the code to check for SR-IOV PF[0..3]
> much further down in init_one() past the point where we allocate a (struct
> adapter) for PF[0..3]. As a result, we left four of these on ever module remove.
>
> Fix: Allocate adapter structure only for PF4
>
> Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Applied.
prev parent reply other threads:[~2014-09-15 21:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-15 21:28 [PATCH net] cxgb4: Don't allocate adapter structure for all PF's Hariprasad Shenai
2014-09-15 21:43 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140915.174321.1346937613262227470.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=anish@chelsio.com \
--cc=hariprasad@chelsio.com \
--cc=kumaras@chelsio.com \
--cc=leedom@chelsio.com \
--cc=netdev@vger.kernel.org \
--cc=nirranjan@chelsio.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).