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 |
||
---|---|---|
.. | ||
Makefile | ||
nvme_ctrlr_cmd.c | ||
nvme_ctrlr_ocssd_cmd.c | ||
nvme_ctrlr.c | ||
nvme_cuse.c | ||
nvme_cuse.h | ||
nvme_fabric.c | ||
nvme_internal.h | ||
nvme_io_msg.c | ||
nvme_io_msg.h | ||
nvme_ns_cmd.c | ||
nvme_ns_ocssd_cmd.c | ||
nvme_ns.c | ||
nvme_opal_internal.h | ||
nvme_opal.c | ||
nvme_pcie_common.c | ||
nvme_pcie_internal.h | ||
nvme_pcie.c | ||
nvme_poll_group.c | ||
nvme_qpair.c | ||
nvme_quirks.c | ||
nvme_rdma.c | ||
nvme_tcp.c | ||
nvme_transport.c | ||
nvme_vfio_user.c | ||
nvme_zns.c | ||
nvme.c | ||
spdk_nvme.map |