| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * cs53l32a (Adaptec AVC-2010 and AVC-2410) i2c ivtv driver. |
|---|
| 3 | 4 | * Copyright (C) 2005 Martin Vaughan |
|---|
| 4 | 5 | * |
|---|
| 5 | 6 | * Audio source switching for Adaptec AVC-2410 added by Trev Jackson |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 8 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 9 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 10 | | - * (at your option) any later version. |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 13 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 15 | | - * GNU General Public License for more details. |
|---|
| 16 | 7 | */ |
|---|
| 17 | 8 | |
|---|
| 18 | 9 | |
|---|
| .. | .. |
|---|
| 149 | 140 | return -EIO; |
|---|
| 150 | 141 | |
|---|
| 151 | 142 | if (!id) |
|---|
| 152 | | - strlcpy(client->name, "cs53l32a", sizeof(client->name)); |
|---|
| 143 | + strscpy(client->name, "cs53l32a", sizeof(client->name)); |
|---|
| 153 | 144 | |
|---|
| 154 | 145 | v4l_info(client, "chip found @ 0x%x (%s)\n", |
|---|
| 155 | 146 | client->addr << 1, client->adapter->name); |
|---|