mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
d8827ae8e2
devlink_health_reporter_create may fail. In that case, do the cleanup work. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Coiby Xu <coxu@redhat.com> Link: https://lore.kernel.org/r/20210324010002.109846-1-coxu@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 lines
212 B
C
9 lines
212 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
#ifndef QLGE_DEVLINK_H
|
|
#define QLGE_DEVLINK_H
|
|
|
|
#include <net/devlink.h>
|
|
|
|
long qlge_health_create_reporters(struct qlge_adapter *priv);
|
|
|
|
#endif /* QLGE_DEVLINK_H */
|