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 2/2] Staging: rtl8712: Eliminate use of _init_timer
Date: Sun, 1 Mar 2015 17:03:13 -0800	[thread overview]
Message-ID: <20150302010313.GA6918@kroah.com> (raw)
In-Reply-To: <043ec4bb089d339de22164416866e2fce2a5bb6a.1425058745.git.vthakkar1994@gmail.com>

On Fri, Feb 27, 2015 at 11:26:22PM +0530, Vaishali Thakkar wrote:
> This patch introduces the use of API function setup_timer
> instead of driver specific function _init_timer as it is
> the preferred and standard way to setup and set the timer.
> Also, definition of function _init_timer is removed as it
> is no longer needed after this change.
> 
> This is done using Coccinelle and semantic patch used for
> this is as follows:
> 
> @@ expression x, y; identifier a, b;@@
> 
> - _init_timer (&x, y, a, b);
> + setup_timer (&x, a, (unsigned long)b);
> 
> Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
> ---
>  drivers/staging/rtl8712/mlme_linux.c      | 27 +++++++++++++--------------
>  drivers/staging/rtl8712/os_intfs.c        |  4 ++--
>  drivers/staging/rtl8712/osdep_service.h   |  9 ---------
>  drivers/staging/rtl8712/recv_linux.c      |  5 +++--
>  drivers/staging/rtl8712/rtl8712_led.c     |  3 ++-
>  drivers/staging/rtl8712/rtl871x_pwrctrl.c |  4 ++--
>  6 files changed, 22 insertions(+), 30 deletions(-)

This patch adds a bunch of compiler warnings, so I can't take it :(

Please fix up and resend, and be more careful in the future.

thanks,

greg k-h


  reply	other threads:[~2015-03-02  1:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-27 17:55 [PATCH 0/2] Staging: rtl8712: Use mod_timer and setup_timer Vaishali Thakkar
2015-02-27 17:55 ` [PATCH 1/2] Staging: rtl8712: Eliminate use of _set_timer Vaishali Thakkar
2015-02-27 17:56 ` [PATCH 2/2] Staging: rtl8712: Eliminate use of _init_timer Vaishali Thakkar
2015-03-02  1:03   ` Greg KH [this message]
2015-03-02  3:23     ` [Outreachy kernel] " 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=20150302010313.GA6918@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.