diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2022-02-22 20:06:48 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2022-02-22 20:08:22 +0000 |
| commit | 074bed4f486b4fa54e4d9bd2fccfad3cce732ba1 (patch) | |
| tree | 96585fd56e87326beff3c303c7d1075e97a86476 /sys/dev/mpr | |
| parent | 817e68d8e64a4949a8b390b302738d45107aee49 (diff) | |
Diffstat (limited to 'sys/dev/mpr')
| -rw-r--r-- | sys/dev/mpr/mpr_config.c | 48 | ||||
| -rw-r--r-- | sys/dev/mpr/mpr_sas_lsi.c | 2 |
2 files changed, 25 insertions, 25 deletions
diff --git a/sys/dev/mpr/mpr_config.c b/sys/dev/mpr/mpr_config.c index 2b5bc7e3964b..133be81093eb 100644 --- a/sys/dev/mpr/mpr_config.c +++ b/sys/dev/mpr/mpr_config.c @@ -105,7 +105,7 @@ mpr_config_get_ioc_pg8(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for header completed with error %d", + printf("%s: request for header completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -164,7 +164,7 @@ mpr_config_get_ioc_pg8(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for page completed with error %d", + printf("%s: request for page completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -237,7 +237,7 @@ mpr_config_get_iounit_pg8(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for header completed with error %d", + printf("%s: request for header completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -296,7 +296,7 @@ mpr_config_get_iounit_pg8(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for page completed with error %d", + printf("%s: request for page completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -369,7 +369,7 @@ mpr_config_get_man_pg11(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for header completed with error %d", + printf("%s: request for header completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -427,7 +427,7 @@ mpr_config_get_man_pg11(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for page completed with error %d", + printf("%s: request for page completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -562,7 +562,7 @@ mpr_config_get_dpm_pg0(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for header completed with error %d", + printf("%s: request for header completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -623,7 +623,7 @@ mpr_config_get_dpm_pg0(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for page completed with error %d", + printf("%s: request for page completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -700,7 +700,7 @@ int mpr_config_set_dpm_pg0(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for header completed with error %d", + printf("%s: request for header completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -763,7 +763,7 @@ int mpr_config_set_dpm_pg0(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, * If the request returns an error then we need to do a diag * reset */ - printf("%s: request to write page completed with error %d", + printf("%s: request to write page completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -837,7 +837,7 @@ mpr_config_get_sas_device_pg0(struct mpr_softc *sc, Mpi2ConfigReply_t * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for header completed with error %d", + printf("%s: request for header completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -898,7 +898,7 @@ mpr_config_get_sas_device_pg0(struct mpr_softc *sc, Mpi2ConfigReply_t * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for page completed with error %d", + printf("%s: request for page completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -974,7 +974,7 @@ mpr_config_get_pcie_device_pg0(struct mpr_softc *sc, Mpi2ConfigReply_t * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for header completed with error %d", + printf("%s: request for header completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -1035,7 +1035,7 @@ mpr_config_get_pcie_device_pg0(struct mpr_softc *sc, Mpi2ConfigReply_t * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for page completed with error %d", + printf("%s: request for page completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -1111,7 +1111,7 @@ mpr_config_get_pcie_device_pg2(struct mpr_softc *sc, Mpi2ConfigReply_t * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for header completed with error %d", + printf("%s: request for header completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -1172,7 +1172,7 @@ mpr_config_get_pcie_device_pg2(struct mpr_softc *sc, Mpi2ConfigReply_t * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for page completed with error %d", + printf("%s: request for page completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -1245,7 +1245,7 @@ mpr_config_get_bios_pg3(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for header completed with error %d", + printf("%s: request for header completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -1304,7 +1304,7 @@ mpr_config_get_bios_pg3(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for page completed with error %d", + printf("%s: request for page completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -1379,7 +1379,7 @@ mpr_config_get_raid_volume_pg0(struct mpr_softc *sc, Mpi2ConfigReply_t if (error || (reply == NULL)) { /* FIXME */ /* If the poll returns error then we need to do diag reset */ - printf("%s: poll for header completed with error %d", + printf("%s: poll for header completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -1437,7 +1437,7 @@ mpr_config_get_raid_volume_pg0(struct mpr_softc *sc, Mpi2ConfigReply_t if (error || (reply == NULL)) { /* FIXME */ /* If the poll returns error then we need to do diag reset */ - printf("%s: poll for page completed with error %d", + printf("%s: poll for page completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -1508,7 +1508,7 @@ mpr_config_get_raid_volume_pg1(struct mpr_softc *sc, Mpi2ConfigReply_t * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for header completed with error %d", + printf("%s: request for header completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -1568,7 +1568,7 @@ mpr_config_get_raid_volume_pg1(struct mpr_softc *sc, Mpi2ConfigReply_t * If the request returns an error then we need to do a diag * reset */ - printf("%s: request for page completed with error %d", + printf("%s: request for page completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -1669,7 +1669,7 @@ mpr_config_get_raid_pd_pg0(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, if (error || (reply == NULL)) { /* FIXME */ /* If the poll returns error then we need to do diag reset */ - printf("%s: poll for header completed with error %d", + printf("%s: poll for header completed with error %d\n", __func__, error); error = ENXIO; goto out; @@ -1727,7 +1727,7 @@ mpr_config_get_raid_pd_pg0(struct mpr_softc *sc, Mpi2ConfigReply_t *mpi_reply, if (error || (reply == NULL)) { /* FIXME */ /* If the poll returns error then we need to do diag reset */ - printf("%s: poll for page completed with error %d", + printf("%s: poll for page completed with error %d\n", __func__, error); error = ENXIO; goto out; diff --git a/sys/dev/mpr/mpr_sas_lsi.c b/sys/dev/mpr/mpr_sas_lsi.c index 92b78c5e0d17..d84b527cd7c7 100644 --- a/sys/dev/mpr/mpr_sas_lsi.c +++ b/sys/dev/mpr/mpr_sas_lsi.c @@ -356,7 +356,7 @@ mprsas_fw_work(struct mpr_softc *sc, struct mpr_fw_event_work *fw_event) * need to do diag reset */ printf("%s: poll for page completed " - "with error %d", __func__, error); + "with error %d\n", __func__, error); } if (reply && (le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK) != |
