]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Assert that invalid bus widths can't be passed to bus_width_str().
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 15 Sep 2021 16:03:17 +0000 (09:03 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 10 May 2022 22:51:49 +0000 (15:51 -0700)
commite66d34dfc5c2f2c61fd534e3fc99feb22417ebb6
treefeff771a3c6178419eebd5a2f6352f7720a46b90
parente77b37914ad62ce713d59f874e1c547188e647d6
Assert that invalid bus widths can't be passed to bus_width_str().

This appeases a -Wreturn-type warning from GCC.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D31935

(cherry picked from commit d2bc7754a226c031b76184277e32c4d65a763f67)
sys/cam/mmc/mmc_da.c