-
Notifications
You must be signed in to change notification settings - Fork 0
block: Replace deprecated strcpy in devt_from_devname #366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: linus-master_base
Are you sure you want to change the base?
Conversation
|
Upstream branch: 6da43bb |
83d3e2f to
00d5e5c
Compare
|
Upstream branch: f824272 |
e033e1b to
4f88590
Compare
00d5e5c to
d782508
Compare
|
Upstream branch: f824272 |
4f88590 to
0f52784
Compare
d782508 to
6099a4d
Compare
|
Upstream branch: e7c375b |
0f52784 to
62b8c3b
Compare
6099a4d to
5121c4d
Compare
|
Upstream branch: e7c375b |
62b8c3b to
0fd25f4
Compare
5121c4d to
4458758
Compare
|
Upstream branch: 8b69055 |
0fd25f4 to
a3c5b10
Compare
4458758 to
6f43942
Compare
Use strnlen() and sizeof(s) instead of hard-coding 31 bytes. strcpy() is deprecated and uses an additional strlen() internally; use memcpy() directly since we already know the length of 'name' and that it is guaranteed to be NUL-terminated. Link: KSPP/linux#88 Signed-off-by: Thorsten Blum <[email protected]>
|
Upstream branch: fd95357 |
a3c5b10 to
9ffc984
Compare
Pull request for series with
subject: block: Replace deprecated strcpy in devt_from_devname
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1022975