All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Hartmut Knaack <knaack.h@gmx.de>,
	George McCollister <george.mccollister@gmail.com>,
	mranostay@gmail.com
Cc: linux-iio@vger.kernel.org
Subject: Re: [PATCH 1/2] iio: as3935: allocate correct iio_device size
Date: Wed, 05 Nov 2014 13:45:19 +0000	[thread overview]
Message-ID: <545A29EF.9010204@kernel.org> (raw)
In-Reply-To: <54594840.3050302@gmx.de>

On 04/11/14 21:42, Hartmut Knaack wrote:
> George McCollister schrieb am 31.10.2014 16:44:
>> Signed-off-by: George McCollister <george.mccollister@gmail.com>
> Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Applied to the fixes-togreg branch of iio.git and marked for stable.

Thanks,

Jonathan
>> ---
>>  drivers/iio/proximity/as3935.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/iio/proximity/as3935.c b/drivers/iio/proximity/as3935.c
>> index 5e780ef..8349cc0 100644
>> --- a/drivers/iio/proximity/as3935.c
>> +++ b/drivers/iio/proximity/as3935.c
>> @@ -330,7 +330,7 @@ static int as3935_probe(struct spi_device *spi)
>>  		return -EINVAL;
>>  	}
>>  
>> -	indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(st));
>> +	indio_dev = devm_iio_device_alloc(&spi->dev, sizeof(*st));
>>  	if (!indio_dev)
>>  		return -ENOMEM;
>>  
>>
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

      reply	other threads:[~2014-11-05 13:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31 15:44 [PATCH 1/2] iio: as3935: allocate correct iio_device size George McCollister
2014-10-31 15:44 ` [PATCH 2/2] iio: as3935: Remove unnecessary semicolons George McCollister
2014-11-04 21:42   ` Hartmut Knaack
2014-11-05 13:48     ` Jonathan Cameron
2014-11-04 21:42 ` [PATCH 1/2] iio: as3935: allocate correct iio_device size Hartmut Knaack
2014-11-05 13:45   ` Jonathan Cameron [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=545A29EF.9010204@kernel.org \
    --to=jic23@kernel.org \
    --cc=george.mccollister@gmail.com \
    --cc=knaack.h@gmx.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=mranostay@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.