From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Preceding a method call with (void)
Date: Wed, 9 Sep 2015 22:00:50 -0700 [thread overview]
Message-ID: <20150910050050.GA29808@kroah.com> (raw)
In-Reply-To: <CAGXs5wVn+mtUWjmYfmYbVxoCDPu1MNdbdvY91+vcoUZxm6joOg@mail.gmail.com>
On Thu, Sep 10, 2015 at 07:52:49AM +0300, Kevin Wilson wrote:
> Hi all,
>
> I intend to send a patch to the kernel, and my question is about
> preceding a method with (void).
Don't :)
> My question is:
> Will sending a patch to the kernel with code with (void) preceding
> method calls make sense ?
Nope.
> or should I avoid it in the first place (again, I did not saw such a
> pattern in the kernel)
Avoid it please.
Just curious, what code do you want to change to add a (void) to?
thanks,
greg k-h
next prev parent reply other threads:[~2015-09-10 5:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-10 4:52 Preceding a method call with (void) Kevin Wilson
2015-09-10 5:00 ` Greg KH [this message]
2015-09-10 6:39 ` Valdis.Kletnieks at vt.edu
2015-09-18 14:04 ` Rami Rosen
2015-09-18 15:02 ` Valdis.Kletnieks at vt.edu
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=20150910050050.GA29808@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.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 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.