From: Philippe Loctaux <loctauxphilippe@gmail.com>
To: Ozgur <ozgur@goosey.org>
Cc: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org, loctauxphilippe@gmail.com
Subject: Re: [PATCH 2/2] Staging: most: aim-sound: sound.c: removed unnecessary parentheses
Date: Fri, 29 Dec 2017 15:50:02 +0100 [thread overview]
Message-ID: <20171229144957.GA16123@parch.localdomain> (raw)
In-Reply-To: <227541514503196@web8o.yandex.ru>
On Fri, Dec 29, 2017 at 02:19:56AM +0300, Ozgur wrote:
> I think this patch is not good, the code will not work. Please should understand in && operator and () why used with C.
hi,
this patch should work, since it compiles and passes checkpatch.
the reason why i removed the () is because of the && operator, it works
without the need of having () around the statments, which makes the code
simpler to read.
have a nice day.
-phil
loctauxphilippe@gmail.com
https://philippeloctaux.com
next prev parent reply other threads:[~2017-12-29 14:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-28 23:06 [PATCH 0/2] Staging: most: aim-sound: sound.c: coding style Philippe Loctaux
2017-12-28 23:06 ` [PATCH 1/2] Staging: most: aim-sound: sound.c: fixed an alignment issue Philippe Loctaux
2018-01-08 15:35 ` Greg KH
2017-12-28 23:06 ` [PATCH 2/2] Staging: most: aim-sound: sound.c: removed unnecessary parentheses Philippe Loctaux
2017-12-28 23:19 ` Ozgur
2017-12-29 14:50 ` Philippe Loctaux [this message]
2018-01-08 15:35 ` Greg KH
2017-12-28 23:14 ` [PATCH 0/2] Staging: most: aim-sound: sound.c: coding style Ozgur
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=20171229144957.GA16123@parch.localdomain \
--to=loctauxphilippe@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ozgur@goosey.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
all inboxes | Powered by JetHome®