Skip to content

Commit 4c9f424

Browse files
committed
Revert "ALSA: firewire: isight: changed strcpy to strscpy"
This reverts commit 0455441. The commit was removed from upstream. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent c451173 commit 4c9f424

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sound/firewire/isight.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -638,13 +638,13 @@ static int isight_probe(struct fw_unit *unit,
638638

639639
card->private_free = isight_card_free;
640640

641-
strscpy(card->driver, "iSight");
642-
strscpy(card->shortname, "Apple iSight");
641+
strcpy(card->driver, "iSight");
642+
strcpy(card->shortname, "Apple iSight");
643643
snprintf(card->longname, sizeof(card->longname),
644644
"Apple iSight (GUID %08x%08x) at %s, S%d",
645645
fw_dev->config_rom[3], fw_dev->config_rom[4],
646646
dev_name(&unit->device), 100 << fw_dev->max_speed);
647-
strspy(card->mixername, "iSight");
647+
strcpy(card->mixername, "iSight");
648648

649649
err = isight_create_pcm(isight);
650650
if (err < 0)

0 commit comments

Comments
 (0)