# Re: \[PATCH 01/13\] seq\_file: mark seq\_get\_buf as deprecated

- From: Daniel Wagner \<hidden\>
- Date: 2021-09-13 16:23:13 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/09/214068
- Thread: https://ratatoskr.run/linux-block/2021/09/214031/t.md

```text
> + *
> + * DOT NOT USE IN NEW CODE! This function pokes a hole into the whole seq_file
> + * abstraction.  The only remaining user outside of seq_file.c is sysfs, which
> + * is gradually moving away from using seq_get_buf directly.
>   */

Maybe adding a check to checkpatch could also help?
```
