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
/
ppc
/
keywest.c
diff --git
a/sound/ppc/keywest.c
b/sound/ppc/keywest.c
index 9554a0c506afbc60239453e8cfd5ea719e6ac695..a6c1905039de838b9a79c05c4965eaa4bfa8de3d 100644
(file)
--- a/
sound/ppc/keywest.c
+++ b/
sound/ppc/keywest.c
@@
-49,7
+49,7
@@
static int keywest_attach_adapter(struct i2c_adapter *adapter)
return -EINVAL; /* ignored */
memset(&info, 0, sizeof(struct i2c_board_info));
return -EINVAL; /* ignored */
memset(&info, 0, sizeof(struct i2c_board_info));
- str
l
cpy(info.type, "keywest", I2C_NAME_SIZE);
+ str
s
cpy(info.type, "keywest", I2C_NAME_SIZE);
info.addr = keywest_ctx->addr;
client = i2c_new_client_device(adapter, &info);
if (IS_ERR(client))
info.addr = keywest_ctx->addr;
client = i2c_new_client_device(adapter, &info);
if (IS_ERR(client))