diff options
author | Willy Tarreau <[email protected]> | 2022-05-08 11:37:08 +0200 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-05-08 10:01:48 -0700 |
commit | f3b10a3c22c6a5f1d623b70eca2b4d1efafccd71 (patch) | |
tree | d8c20ad714e236562cfe2cc5af9243e3a38d3051 /lib/test_fortify/write_overflow-memcpy.c | |
parent | f71f01394f742fc4558b3f9f4c7ef4c4cf3b07c8 (diff) |
ataflop: use a statically allocated error counters
This is the last driver making use of fd_request->error_count, which is
easy to get wrong as was shown in floppy.c. We don't need to keep it
there, it can be moved to the atari_floppy_struct instead, so let's do
this.
Suggested-by: Linus Torvalds <[email protected]>
Cc: Minh Yuan <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Signed-off-by: Willy Tarreau <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions