Make the read/write buffer size of proc text interface variable.
Showing the changes to include (1 of 2 files). Show all
Unified · Split
| @@ -27,9 +27,9 @@ · 26 unmodified lines | ||
| 27 | 27 | /* buffer for information */ |
| 28 | 28 | struct snd_info_buffer { |
| 29 | 29 | char *buffer; /* pointer to begin of buffer */ |
| 30 | − char *curr; /* current position in buffer */ | |
| 31 | − unsigned long size; /* current size */ | |
| 32 | − unsigned long len; /* total length of buffer */ | |
| 30 | + unsigned int curr; /* current position in buffer */ | |
| 31 | + unsigned int size; /* current size */ | |
| 32 | + unsigned int len; /* total length of buffer */ | |
| 33 | 33 | int stop; /* stop flag */ |
| 34 | 34 | int error; /* error code */ |
| 35 | 35 | }; |