Commit 71c717c
Revert "usb: yurex: Replace snprintf() with the safer scnprintf() variant"
This reverts commit 86b20af.
This patch leads to passing 0 to simple_read_from_buffer()
as a fifth argument, turning the read method into a nop.
The change is fundamentally flawed, as it breaks the driver.
Signed-off-by: Oliver Neukum <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent d44238d commit 71c717c
1 file changed
+8
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
| |||
403 | 401 | | |
404 | 402 | | |
405 | 403 | | |
406 | | - | |
| 404 | + | |
| 405 | + | |
407 | 406 | | |
408 | 407 | | |
409 | 408 | | |
| |||
413 | 412 | | |
414 | 413 | | |
415 | 414 | | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
424 | 418 | | |
425 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
426 | 423 | | |
427 | 424 | | |
428 | 425 | | |
| |||
0 commit comments