From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Varka Bhadram <varkabhadram@gmail.com>, alan@signal11.us
Cc: alex.bluesman.smirnov@gmail.com, dbaryshkov@gmail.com,
linux-zigbee-devel@lists.sourceforge.net, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, davem@davemloft.net,
alex.aing@gmail.com, Varka Bhadram <varkab@cdac.in>
Subject: Re: [PATCH] mrf24j40: add managed API's provided by device layer
Date: Thu, 29 May 2014 21:45:33 +0400 [thread overview]
Message-ID: <5387723D.9020009@cogentembedded.com> (raw)
In-Reply-To: <1401337071-4071-1-git-send-email-varkab@cdac.in>
Hello.
On 05/29/2014 08:17 AM, Varka Bhadram wrote:
> This patch adds the managed APIs to the deriver code. By using this we need
> not to worry about freeing the memory and irq numbers.
> Thanks and Regards,
> Varka Bhadram
This is not desirable thing in the patch changelog, maintainer will have
to edit it out...
> Signed-off-by: Varka Bhadram <varkab@cdac.in>
> ---
> drivers/net/ieee802154/mrf24j40.c | 22 ++++++++++------------
> 1 file changed, 10 insertions(+), 12 deletions(-)
> diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c
> index 78a6552..729ec0f 100644
> --- a/drivers/net/ieee802154/mrf24j40.c
> +++ b/drivers/net/ieee802154/mrf24j40.c
> @@ -618,10 +618,11 @@ static int mrf24j40_probe(struct spi_device *spi)
>
> printk(KERN_INFO "mrf24j40: probe(). IRQ: %d\n", spi->irq);
>
> - devrec = kzalloc(sizeof(struct mrf24j40), GFP_KERNEL);
> + devrec = devm_kzalloc(spi->dev,
> + sizeof(struct mrf24j40), GFP_KERNEL);
Continuation line should start under the next character after ( on the
previous line, according to the networking coding style.
[...]
WBR, Sergei
prev parent reply other threads:[~2014-05-29 17:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-29 4:17 [PATCH] mrf24j40: add managed API's provided by device layer Varka Bhadram
2014-05-29 17:45 ` Sergei Shtylyov [this message]
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=5387723D.9020009@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=alan@signal11.us \
--cc=alex.aing@gmail.com \
--cc=alex.bluesman.smirnov@gmail.com \
--cc=davem@davemloft.net \
--cc=dbaryshkov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-zigbee-devel@lists.sourceforge.net \
--cc=netdev@vger.kernel.org \
--cc=varkab@cdac.in \
--cc=varkabhadram@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.