Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cx25821: Remove bad strcpy to read-only char*
The strcpy was being used to set the name of the board. Since the destination char* was read-only and the name is set statically at compile time; this was both wrong and redundant. The type of char* is changed to const char* to prevent future errors. Reported-by: Radek Masin <[email protected]> Signed-off-by: Ezequiel Garcia <[email protected]> [ Taking directly due to vacations - Linus ] Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information