From: Stephen Hemminger <shemminger@vyatta•com>
To: "Masayuki Ohtake" <masa-korg@dsn•okisemi.com>
Cc: "NETDEV" <netdev@vger•kernel.org>,
"Wang, Yong Y" <yong.y.wang@intel•com>,
"Wang, Qi" <qi.wang@intel•com>,
"Intel OTC" <joel.clark@intel•com>,
"Andrew" <andrew.chih.howe.khor@intel•com>
Subject: Re: [PATCH 1/7] Topcliff GbE: Add The Main code [1/3]
Date: Fri, 23 Apr 2010 08:26:24 -0700 [thread overview]
Message-ID: <20100423082624.147de667@nehalam> (raw)
In-Reply-To: <002d01cae2dd$1f6e42d0$66f8800a@maildom.okisemi.com>
On Fri, 23 Apr 2010 20:56:25 +0900
"Masayuki Ohtake" <masa-korg@dsn•okisemi.com> wrote:
Even though the patch was sent as an attachment, long lines were
wrapped.
Do you want this to go directly to kernel, or do you want help
fixing coding issues by submitting to staging tree?
The code uses a comment style that is kind of like the existing
docbook comment style; why not convert it to use the official
docbook style for examples look at other kernel code:
/**
* dev_alloc_skb - allocate an skbuff for receiving
* @length: length to allocate
*
* Allocate a new &sk_buff and assign it a usage count of one. The
* buffer has unspecified headroom built in. Users should allocate
* the headroom they think they need without accounting for the
* built in space. The built in space is used for optimisations.
*
* %NULL is returned if there is no free memory. Although this function
* allocates memory it can be called from an interrupt.
*/
The code is also indented with a non-standard indentation format.
Please read Documentation/CodingStyle. Indentation is supposed
to be 4 characters (and using tabs of 8 characters).
The PCI device table could be changed to:
static DEFINE_PCI_DEVICE_TABLE(pch_gbe_pcidev_id) = {
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_IOH1_GBE) },
{ 0 }
};
Also PCI_DEVICE_ID_INTEL_IOH1_GBE is not defined anywhere I can see.
next prev parent reply other threads:[~2010-04-23 15:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-23 11:56 [PATCH 1/7] Topcliff GbE: Add The Main code [1/3] Masayuki Ohtake
2010-04-23 15:26 ` Stephen Hemminger [this message]
2010-04-26 8:00 ` Masayuki Ohtake
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=20100423082624.147de667@nehalam \
--to=shemminger@vyatta$(echo .)com \
--cc=andrew.chih.howe.khor@intel$(echo .)com \
--cc=joel.clark@intel$(echo .)com \
--cc=masa-korg@dsn$(echo .)okisemi.com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=qi.wang@intel$(echo .)com \
--cc=yong.y.wang@intel$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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