From: Ingo Molnar <mingo@elte.hu>
To: Feng Tang <feng.tang@intel.com>
Cc: linux-serial@vger.kernel.org, greg@kroah.com, alan@linux.intel.com
Subject: Re: [PATCH v2 3/4] serial: mrst_max3110: some code cleanup
Date: Fri, 10 Sep 2010 08:46:25 +0200 [thread overview]
Message-ID: <20100910064625.GD31090@elte.hu> (raw)
In-Reply-To: <1284088220-12276-3-git-send-email-feng.tang@intel.com>
* Feng Tang <feng.tang@intel.com> wrote:
> The cleanup for mrst_max3110 includes:
> * remove unneeded head files
> * make the spi_transfer dma safe, so that driver is more portable
> * add more check for error return value
> * use mutex_trylock for read thread
>
> Signed-off-by: Feng Tang <feng.tang@intel.com>
> Signed-off-by: Alan Cox <alan@linux.intel.com>
> ---
> drivers/serial/mrst_max3110.c | 323 +++++++++++++++++++++++++----------------
> drivers/serial/mrst_max3110.h | 1 +
> 2 files changed, 199 insertions(+), 125 deletions(-)
>
> diff --git a/drivers/serial/mrst_max3110.c b/drivers/serial/mrst_max3110.c
> index f6ad1ec..880dce3 100644
> --- a/drivers/serial/mrst_max3110.c
> +++ b/drivers/serial/mrst_max3110.c
> @@ -1,7 +1,7 @@
> /*
> - * max3110.c - spi uart protocol driver for Maxim 3110 on Moorestown
> + * mrst_max3110.c - spi uart protocol driver for Maxim 3110
> *
> - * Copyright (C) Intel 2008 Feng Tang <feng.tang@intel.com>
> + * Copyright (c) 2010, Intel Corporation.
Just a small nit i noticed: please try to never remove old copyright
notices (even if it's your own company's), but do something like:
> + * Copyright (c) 2008, 2010, Intel Corporation.
Or:
> + * Copyright (c) 2008-2010, Intel Corporation.
If Intel worked on it in 2009 too. (or whatever other copyright notice
policy Intel has.)
( otherwise i suspect serial folks will review the rest of the patch, i
havent checked. )
Thanks,
Ingo
next prev parent reply other threads:[~2010-09-10 6:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-10 3:10 [PATCH v2 1/4] x86, earlyprintk: add earlyprintk for Intel Moorestown platform Feng Tang
2010-09-10 3:10 ` [PATCH v2 2/4] x86, earlyprintk: add hsu early console for Intel Medfield platform Feng Tang
2010-09-10 6:43 ` Ingo Molnar
2010-09-10 3:10 ` [PATCH v2 3/4] serial: mrst_max3110: some code cleanup Feng Tang
2010-09-10 6:46 ` Ingo Molnar [this message]
2010-09-10 3:10 ` [PATCH v2 4/4] serial: mrst_max3110: Make the IRQ option runtime Feng Tang
2010-09-10 6:36 ` [PATCH v2 1/4] x86, earlyprintk: add earlyprintk for Intel Moorestown platform Ingo Molnar
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=20100910064625.GD31090@elte.hu \
--to=mingo@elte.hu \
--cc=alan@linux.intel.com \
--cc=feng.tang@intel.com \
--cc=greg@kroah.com \
--cc=linux-serial@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).