c4fafdb215
siginfo_t is a GNU extension. SPDK (and DPDK) have direct dependencies on GNU extensions, but it's a bit nicer if external modules don't also need to define _GNU_SOURCE. Currently siginfo_t parameter in the spdk_pci_error_handler is the only thing that violates this. Note that DPDK also supports registering sigbus handlers, but they take the failing address as a parameter instead of the full siginfo_t structure. Let's adopt the same for SPDK. While here, remove an extra semicolon that was just after the virtio sigbus handler function signature that was updated in this patch. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I07faf11a3ac3589c637cb2196581c102286b1e68 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8333 Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jacek Kalwas <jacek.kalwas@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |