-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scsi/linkdata: donot assigning value of variable of type to itself
Fix follow compile errors with clang-19: drivers/scsi/linkdata/ps3_device_manager_sas.c:234:11: error: explicitly assigning value of variable of type 'struct ps3_instance *' to itself [-Werror,-Wself-assign] 234 | instance = instance; | ~~~~~~~~ ^ ~~~~~~~~ 1 error generated. drivers/scsi/linkdata/linux/ps3_cli_debug.c:3609:7: error: explicitly assigning value of variable of type 'int' to itself [-Werror,-Wself-assign] 3609 | argc = argc; | ~~~~ ^ ~~~~ drivers/scsi/linkdata/linux/ps3_cli_debug.c:3610:7: error: explicitly assigning value of variable of type 'char **' to itself [-Werror,-Wself-assign] 3610 | argv = argv; | ~~~~ ^ ~~~~ 2 errors generated. Signed-off-by: WangYuli <[email protected]>
- Loading branch information
1 parent
933c476
commit 7423015
Showing
2 changed files
with
0 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters