From: Ralf Baechle DL5RB <ralf@linux-mips.org>
To: walter harms <wharms@bfs.de>
Cc: Richard Stearn <richard@rns-stearn.demon.co.uk>,
linux-hams@vger.kernel.org
Subject: Re: [PATCH net-next 1/1] - ROSE device usage count
Date: Mon, 15 Jun 2015 10:42:40 +0200 [thread overview]
Message-ID: <20150615084240.GC20721@linux-mips.org> (raw)
In-Reply-To: <555CA56A.8000801@bfs.de>
On Wed, May 20, 2015 at 05:16:58PM +0200, walter harms wrote:
> > + if ((dev = rose_dev_get(&addr->srose_addr)) == NULL) {
> > + release_sock(sk);
> > return -EADDRNOTAVAIL;
> > + }
>
> so far i know it is kernel style one line one command
>
> dev = rose_dev_get(&addr->srose_addr);
> if (dev == NULL)
The construct is acceptable because it was already there and also it's
not considered multiple statements for puposes of code formatting unlike
if (!foo->bar)
return ETOOFROB;
> maybe you want to send the code to kernel-janitors@vger.kernel.org
> to get more feedback ?
One this that is grave problem for this patch howeer (see
Documentation/SubmittingPatches) is the missing Signed-off-by: line.
Richard, wanna resubmit or is it ok for me to add your Signed-off-by?
Thanks,
Ralf
next prev parent reply other threads:[~2015-06-15 8:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-20 14:31 [PATCH net-next 1/1] - ROSE device usage count Richard Stearn
2015-05-20 15:16 ` walter harms
2015-06-15 8:42 ` Ralf Baechle DL5RB [this message]
[not found] ` <555CC7A8.30108@trinnet.net>
[not found] ` <5576BE7C.7070704@free.fr>
2015-06-09 12:34 ` Richard Stearn
[not found] ` <557759F2.2090406@free.fr>
[not found] ` <55780375.1080504@rns-stearn.demon.co.uk>
[not found] ` <557CA340.3030708@free.fr>
[not found] ` <557CA97D.9050300@free.fr>
[not found] ` <20150615012146.GA23451@linux-mips.org>
[not found] ` <557EAB73.7010104@free.fr>
2015-06-17 9:12 ` kernel crash when device rose set down f6bvp
2015-06-15 18:45 ` [PATCH net-next 1/1] - ROSE device usage count - repost with signoff Richard Stearn
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=20150615084240.GC20721@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-hams@vger.kernel.org \
--cc=richard@rns-stearn.demon.co.uk \
--cc=wharms@bfs.de \
/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.