All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Vaishali Thakkar <vthakkar1994@gmail.com>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH v2 1/2] Staging: rtl8188eu: Eliminate use of _set_timer
Date: Sun, 1 Mar 2015 15:18:36 -0800	[thread overview]
Message-ID: <20150301231836.GA4616@kroah.com> (raw)
In-Reply-To: <c3958d61a2dc3505df021bb66c55e3e3b8b75d5e.1425017327.git.vthakkar1994@gmail.com>

On Fri, Feb 27, 2015 at 11:48:03AM +0530, Vaishali Thakkar wrote:
> This patch introduces the use of API function mod_timer
> instead of driver specific function _set_timer as it is
> a more efficient and standard way to update the expire
> field of an active timer. Also, definition of function
> _set_timer is removed as it is no longer needed after
> this change.
> 
> Here, these cases are handled using Coccinelle and
> semantic patch used for this is as follows:
> 
> @@ expression x; expression y;@@
> 
> - _set_timer (&x, y);
> + mod_timer (&x, jiffies + msecs_to_jiffies (y));
> 
> Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
> ---
> v1 : Here, this patch has some line over 80 characters as
>      limiting them to 80 characters does not make code look
>      good and readable.
> v2 : Change commit log
>    - Redo the patch against staging-testing

How about you do a v3 that includes:  Fixes build problems in previous
version.

ALWAYS test build your patches, it breaks my workflow when patches are
not tested and break the build :(

thanks,

greg k-h


  reply	other threads:[~2015-03-01 23:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27  6:17 [PATCH v2 0/2] Staging: rtl8188eu: Use mod_timer and setup_timer Vaishali Thakkar
2015-02-27  6:18 ` [PATCH v2 1/2] Staging: rtl8188eu: Eliminate use of _set_timer Vaishali Thakkar
2015-03-01 23:18   ` Greg KH [this message]
2015-03-02  3:21     ` [Outreachy kernel] " Vaishali Thakkar
2015-02-27  6:18 ` [PATCH v2 2/2] Staging: rtl8188eu: Eliminate use of _init_timer Vaishali Thakkar

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=20150301231836.GA4616@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=outreachy-kernel@googlegroups.com \
    --cc=vthakkar1994@gmail.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.