Re: [alsa-devel] [patch] i2c: cleanup: change parameter to pointer
4 Apr
2010
4 Apr
'10
12:20 p.m.
At Fri, 2 Apr 2010 14:29:23 +0300, Dan Carpenter wrote:
We actually pass an array of 7 chars not 5. This silences a smatch warning.
Signed-off-by: Dan Carpenter error27@gmail.com
Thanks. I applied together with the fx in the declaration part in include/sound/ak4113.h.
Takashi
Compile tested only. :/
diff --git a/sound/i2c/other/ak4113.c b/sound/i2c/other/ak4113.c index fff62cc..971a84a 100644 --- a/sound/i2c/other/ak4113.c +++ b/sound/i2c/other/ak4113.c @@ -70,7 +70,7 @@ static int snd_ak4113_dev_free(struct snd_device *device) }
int snd_ak4113_create(struct snd_card *card, ak4113_read_t *read,
ak4113_write_t *write, const unsigned char pgm[5],
void *private_data, struct ak4113 **r_ak4113)ak4113_write_t *write, const unsigned char *pgm,
{ struct ak4113 *chip;
5376
Age (days ago)
5376
Last active (days ago)
0 comments
1 participants
participants (1)
-
Takashi Iwai