Documentation: add some docs for errseq_t

...and fix up a few comments in the code.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
This commit is contained in:
Jeff Layton 2017-07-24 06:22:16 -04:00
parent 3acdfd280f
commit 80aafd50b6
3 changed files with 152 additions and 4 deletions

View file

@ -1,8 +1,9 @@
/*
* See Documentation/errseq.rst and lib/errseq.c
*/
#ifndef _LINUX_ERRSEQ_H
#define _LINUX_ERRSEQ_H
/* See lib/errseq.c for more info */
typedef u32 errseq_t;
errseq_t errseq_set(errseq_t *eseq, int err);