All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hartmut Knaack <knaack.h@gmx.de>
To: 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: Tue, 04 Nov 2014 22:42:24 +0100	[thread overview]
Message-ID: <54594840.3050302@gmx.de> (raw)
In-Reply-To: <1414770263-13146-1-git-send-email-george.mccollister@gmail.com>

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>
> ---
>  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;
>  
> 


  parent reply	other threads:[~2014-11-04 21:42 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 ` Hartmut Knaack [this message]
2014-11-05 13:45   ` [PATCH 1/2] iio: as3935: allocate correct iio_device size Jonathan Cameron

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=54594840.3050302@gmx.de \
    --to=knaack.h@gmx.de \
    --cc=george.mccollister@gmail.com \
    --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.