On Fri, May 13, 2022 at 10:40 AM Khazhismel Kumykov wrote: > +void seq_restore(struct seq_file *m, int count) (Yes, this and elsewhere should be size_t to match m->count) > +{ > + if (WARN_ON_ONCE(count > m->count || count > m->size)) > + return; > + m->count = count;