mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
LinuxKPI: add _devcd_free_sgtable() to devcoredump.h
It may be that once we implement freeing of chained tables _devcd_free_sgtable() will become our _lkpi_dev_coredumpsg_free() but further investigations need to happen. For now make an updated iwlwifi driver happy which should not need more. Sponsored by: The FreeBSD Foundation Reviewed by: dumbbell Differential Revision: https://reviews.freebsd.org/D50006 (cherry picked from commit 71576ed24b56143429a3b6774a7862965c2dea88)
This commit is contained in:
parent
bf1e748dfd
commit
ddb311ffab
1 changed files with 8 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/*-
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*
|
||||
* Copyright (c) 2020 The FreeBSD Foundation
|
||||
* Copyright (c) 2020-2025 The FreeBSD Foundation
|
||||
*
|
||||
* This software was developed by Björn Zeeb under sponsorship from
|
||||
* the FreeBSD Foundation.
|
||||
|
|
@ -71,4 +71,11 @@ dev_coredumpsg(struct device *dev __unused, struct scatterlist *table,
|
|||
_lkpi_dev_coredumpsg_free(table);
|
||||
}
|
||||
|
||||
static inline void
|
||||
_devcd_free_sgtable(struct scatterlist *table)
|
||||
{
|
||||
/* UNIMPLEMENTED */
|
||||
_lkpi_dev_coredumpsg_free(table);
|
||||
}
|
||||
|
||||
#endif /* _LINUXKPI_LINUX_DEVCOREDUMP_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue