]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Decrease logging severity when adding a device or reading config table.
authormarkj <markj@FreeBSD.org>
Tue, 7 Jan 2020 16:07:30 +0000 (16:07 +0000)
committermarkj <markj@FreeBSD.org>
Tue, 7 Jan 2020 16:07:30 +0000 (16:07 +0000)
commit88041c36b176af4a3a2a196c8fb8d409c01578e1
treeac8ab3f3e3d807962d6947365b88daeed47780b7
parent5a2b4ebd65a3bb3868339996c9138317b4eca760
Decrease logging severity when adding a device or reading config table.

In PR 243056 a user reports some spam from smartpqi(4).  In particular,
the driver warns about an unrecognized PQI_CONF_TABLE_SECTION_SOFT_RESET
section (not yet defined in the driver, but handled in Linux), but this
doesn't cause any problems.  The Linux driver also does not warn about
unrecognized sections.

Also do not log a warning when a device is added, since this is routine.
Lower severity to DISC, to match pqisrc_remove_device().

PR: 243056
Reviewed by: sbruno
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D23023
sys/dev/smartpqi/smartpqi_discovery.c
sys/dev/smartpqi/smartpqi_init.c