From: Antti Palosaari <crope@iki.fi>
To: Hans Verkuil <hverkuil@xs4all.nl>, linux-media@vger.kernel.org
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Subject: Re: [PATCH 07/14] drxk_hard: fix sparse warnings
Date: Fri, 04 Oct 2013 17:40:50 +0300 [thread overview]
Message-ID: <524ED372.2080504@iki.fi> (raw)
In-Reply-To: <1380895312-30863-8-git-send-email-hverkuil@xs4all.nl>
On 04.10.2013 17:01, Hans Verkuil wrote:
> From: Hans Verkuil <hans.verkuil@cisco.com>
>
> drivers/media/dvb-frontends/drxk_hard.c:1086:62: warning: Using plain integer as NULL pointer
> drivers/media/dvb-frontends/drxk_hard.c:2784:63: warning: Using plain integer as NULL pointer
>
> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Antti Palosaari <crope@iki.fi>
> Cc: Antti Palosaari <crope@iki.fi>
> ---
> drivers/media/dvb-frontends/drxk_hard.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/media/dvb-frontends/drxk_hard.c b/drivers/media/dvb-frontends/drxk_hard.c
> index 082014d..d416c15 100644
> --- a/drivers/media/dvb-frontends/drxk_hard.c
> +++ b/drivers/media/dvb-frontends/drxk_hard.c
> @@ -1083,7 +1083,7 @@ static int hi_cfg_command(struct drxk_state *state)
> SIO_HI_RA_RAM_PAR_1_PAR1_SEC_KEY);
> if (status < 0)
> goto error;
> - status = hi_command(state, SIO_HI_RA_RAM_CMD_CONFIG, 0);
> + status = hi_command(state, SIO_HI_RA_RAM_CMD_CONFIG, NULL);
> if (status < 0)
> goto error;
>
> @@ -2781,7 +2781,7 @@ static int ConfigureI2CBridge(struct drxk_state *state, bool b_enable_bridge)
> goto error;
> }
>
> - status = hi_command(state, SIO_HI_RA_RAM_CMD_BRDCTRL, 0);
> + status = hi_command(state, SIO_HI_RA_RAM_CMD_BRDCTRL, NULL);
>
> error:
> if (status < 0)
>
--
http://palosaari.fi/
next prev parent reply other threads:[~2013-10-04 14:40 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-04 14:01 [PATCH 00/14] Fixes for sparse warnings Hans Verkuil
2013-10-04 14:01 ` [PATCH 01/14] hdpvr: fix " Hans Verkuil
2013-10-04 14:01 ` [PATCH 02/14] pvrusb2: fix sparse warning Hans Verkuil
2013-10-05 3:01 ` Mike Isely
2013-10-04 14:01 ` [PATCH 03/14] timblogiw: fix two sparse warnings Hans Verkuil
2013-10-04 14:01 ` [PATCH 04/14] tuner-xs2028.c: fix " Hans Verkuil
2013-10-04 15:34 ` Michael Krufky
2013-10-04 14:01 ` [PATCH 05/14] cxd2820r_core: " Hans Verkuil
2013-10-04 14:36 ` Antti Palosaari
2013-10-04 15:35 ` Michael Krufky
2013-10-04 14:01 ` [PATCH 06/14] drxd_hard: " Hans Verkuil
2013-10-04 14:44 ` Antti Palosaari
2013-10-04 15:35 ` Michael Krufky
2013-10-04 14:01 ` [PATCH 07/14] drxk_hard: " Hans Verkuil
2013-10-04 14:40 ` Antti Palosaari [this message]
2013-10-04 15:35 ` Michael Krufky
2013-10-04 14:01 ` [PATCH 08/14] fmdrv_common: fix sparse warning Hans Verkuil
2013-10-04 14:01 ` [PATCH 09/14] radio-keene: " Hans Verkuil
2013-10-04 14:01 ` [PATCH 10/14] az6027: fix sparse warnings Hans Verkuil
2013-10-04 14:01 ` [PATCH 11/14] cx231xx: " Hans Verkuil
2013-10-04 14:01 ` [PATCH 12/14] tlg2300: fix sparse warning Hans Verkuil
2013-10-04 14:01 ` [PATCH 13/14] cx25821: fix sparse warnings Hans Verkuil
2013-10-04 14:01 ` [PATCH 14/14] siano: " Hans Verkuil
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=524ED372.2080504@iki.fi \
--to=crope@iki.fi \
--cc=hans.verkuil@cisco.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.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