git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: Convert strlcpy to strscpy when return value is unused
[sfrench/cifs-2.6.git]
/
sound
/
aoa
/
codecs
/
onyx.c
diff --git
a/sound/aoa/codecs/onyx.c
b/sound/aoa/codecs/onyx.c
index 12028b3e2eee4e87f50e42e7f6eedecf50335a2a..1abee841cc451f89d0936b46678c3bcda87e5860 100644
(file)
--- a/
sound/aoa/codecs/onyx.c
+++ b/
sound/aoa/codecs/onyx.c
@@
-1013,7
+1013,7
@@
static int onyx_i2c_probe(struct i2c_client *client,
goto fail;
}
- str
l
cpy(onyx->codec.name, "onyx", MAX_CODEC_NAME_LEN);
+ str
s
cpy(onyx->codec.name, "onyx", MAX_CODEC_NAME_LEN);
onyx->codec.owner = THIS_MODULE;
onyx->codec.init = onyx_init_codec;
onyx->codec.exit = onyx_exit_codec;