diff options
author | Oliver Neukum <oneukum@suse.com> | 2024-10-07 11:39:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-07 12:07:10 +0200 |
commit | 71c717cd8a2e180126932cc6851ff21c1d04d69a (patch) | |
tree | 03ae2a9d2cd31407d9b071afb632ad3a2a79c04d /rust/helpers/task.c | |
parent | d44238d8254a36249d576c96473269dbe500f5e4 (diff) | |
download | linux-71c717cd8a2e180126932cc6851ff21c1d04d69a.tar.gz linux-71c717cd8a2e180126932cc6851ff21c1d04d69a.tar.bz2 linux-71c717cd8a2e180126932cc6851ff21c1d04d69a.zip |
Revert "usb: yurex: Replace snprintf() with the safer scnprintf() variant"
This reverts commit 86b20af11e84c26ae3fde4dcc4f490948e3f8035.
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 <oneukum@suse.com>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/20241007094004.242122-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions