From: Larry Finger <Larry.Finger@lwfinger.net>
To: Dmitry Tarnyagin <abi.dmitryt@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: A new driver is going to be released
Date: Thu, 03 Nov 2011 20:09:59 -0500 [thread overview]
Message-ID: <4EB33B67.6080806@lwfinger.net> (raw)
In-Reply-To: <CAMG6FYiNW-1ijghpgQ6R_9HujVEp8d53DQ-vjfJrw_hZamM8Jw@mail.gmail.com>
On 11/03/2011 05:40 PM, Dmitry Tarnyagin wrote:
> Hi,
>
> I'm about to release cw1200 driver to the community (more or less
> latest code is available here:
> http://www.igloocommunity.org/gitweb/?p=kernel/igloo-kernel.git;a=shortlog;h=refs/heads/linux-3.0-ux500
> as well).
>
> Technical question: how is it usually done in terms of commit history?
> Should I preserve the history and release all the changes in the
> driver separately or should I squash everything to a single commit
> or...?
The details of what it took to get your driver to this point are not going to be
of much interest in the future. The "official" history starts with acceptance
into the kernel. Two things to keep in mind: (1) the kernel source must compile
at each step of the way to allow for bisection, thus any changes to Kconfig and
Makefile must be in the last patch, and (2) each commit should be small enough
that it is relatively easy to review.
As I do not know the complexity of the driver, it is a little difficult to make
suggestions; however, one way to accomplish the above is to add each source file
in a separate patch. The maintainer may submit the final version as a single
commit, but that is their choice.
Your sending this mail to the wireless ML indicates that you plan to submit the
driver to the drivers/net/wireless/ part of the source tree. As long as the
driver employs mac80211, that is appropriate. The other option is
drivers/staging/. Drivers for that section of the source tree usually are not
held to standards as high as the wireless section.
Please be certain that all code submitted passes all tests cleanly including
checkpatch, sparse including endianess, and smatch.
Good luck,
Larry
next prev parent reply other threads:[~2011-11-04 1:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 22:40 A new driver is going to be released Dmitry Tarnyagin
2011-11-04 1:09 ` Larry Finger [this message]
2011-11-04 2:01 ` Dan Williams
2011-11-04 5:32 ` Dmitry Tarnyagin
2011-11-04 8:12 ` Johannes Berg
2011-11-04 9:10 ` Dmitry Tarnyagin
2011-11-04 9:20 ` Johannes Berg
2011-11-04 14:54 ` Larry Finger
2011-11-04 8:06 ` Kalle Valo
2011-11-04 9:13 ` Vitaly Wool
2011-11-04 9:18 ` Kalle Valo
2012-02-28 5:45 ` Anand Jain
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=4EB33B67.6080806@lwfinger.net \
--to=larry.finger@lwfinger.net \
--cc=abi.dmitryt@gmail.com \
--cc=linux-wireless@vger.kernel.org \
/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).