From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Jia-Ju Bai <baijiaju1990@163.com>,
David Miller <davem@davemloft.net>,
netdev@vger.kernel.org
Cc: todd.fujinaka@intel.com, Linux-nics@isotope.jf.intel.com,
linux.nics@intel.com, e1000-devel@lists.sourceforge.net
Subject: Re: [PATCH V2] e1000: Add netif_napi_del in the normal path and error path to match netif_napi_add
Date: Sun, 21 Dec 2014 16:57:59 +0300 [thread overview]
Message-ID: <5496D1E7.5060908@cogentembedded.com> (raw)
In-Reply-To: <549619E6.8070503@163.com>
Hello.
On 12/21/2014 3:52 AM, Jia-Ju Bai wrote:
> Th driver lacks netif_napi_del in the normal path and error path to match the
> call of netif_napi_add in e1000_probe.
Please wrap your change log lines at 80 columns (or less).
> This patch fixes this problem, and it has been tested in runtime.
> Signed-off-by: Jia-Ju Bai<baijiaju1990@163.com>
> ---
> drivers/net/ethernet/intel/e1000/e1000_main.c | 6 +-
> 1 file changed, 4 insertions(+), 2 deletions(-)
> diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c
> b/drivers/net/ethernet/intel/e1000/e1000_main.c
>
> index 24f3986..f6def7b 100644
>
> --- a/drivers/net/ethernet/intel/e1000/e1000_main.c
>
> +++ b/drivers/net/ethernet/intel/e1000/e1000_main.c
>
> @@ -1004,7 +1004,7 @@ static int e1000_probe(struct pci_dev *pdev, const
> struct pci_device_id *ent)
>
> /* make ready for any if (hw->...) below */
>
> err = e1000_init_hw_struct(adapter, hw);
>
> if (err)
>
> - goto err_sw_init;
>
> + goto err_dma;
>
> /* there is a workaround being applied below that limits
>
> * 64-bit DMA addresses to 64-bit hardware. There are some
Somehow your mailer inserted empty lines after each actual line of the
patch. :-(
WBR, Sergei
next prev parent reply other threads:[~2014-12-21 13:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-20 14:32 [PATCH] e100 in linux-3.18.0: some potential bugs Jia-Ju Bai
2014-12-20 15:07 ` Sergei Shtylyov
2014-12-20 19:30 ` David Miller
2014-12-21 0:52 ` [PATCH V2] e1000: Add netif_napi_del in the normal path and error path to match netif_napi_add Jia-Ju Bai
2014-12-21 13:57 ` Sergei Shtylyov [this message]
2014-12-21 1:19 ` [PATCH V2 1/2] e100 in linux-3.18.0: Fix null pointer deference in e100_probe Jia-Ju Bai
2014-12-21 14:02 ` Sergei Shtylyov
2014-12-21 1:51 ` [PATCH V2 2/2] e100 in linux-3.18.0: Add netif_napi_del in the normal path and error path to match netif_napi_add Jia-Ju Bai
-- strict thread matches above, loose matches on Subject: below --
2014-12-21 15:15 [PATCH v2] e1000: " Jia-Ju Bai
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=5496D1E7.5060908@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=Linux-nics@isotope.jf.intel.com \
--cc=baijiaju1990@163.com \
--cc=davem@davemloft.net \
--cc=e1000-devel@lists.sourceforge.net \
--cc=linux.nics@intel.com \
--cc=netdev@vger.kernel.org \
--cc=todd.fujinaka@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.