]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/errseq.h
ACPI: fix acpi_find_child_device() invocation in acpi_preset_companion()
[mirror_ubuntu-bionic-kernel.git] / include / linux / errseq.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
80aafd50
JL
2/*
3 * See Documentation/errseq.rst and lib/errseq.c
4 */
84cbadad
JL
5#ifndef _LINUX_ERRSEQ_H
6#define _LINUX_ERRSEQ_H
7
84cbadad
JL
8typedef u32 errseq_t;
9
3acdfd28 10errseq_t errseq_set(errseq_t *eseq, int err);
84cbadad
JL
11errseq_t errseq_sample(errseq_t *eseq);
12int errseq_check(errseq_t *eseq, errseq_t since);
13int errseq_check_and_advance(errseq_t *eseq, errseq_t *since);
14#endif