HomeFreeBSD

Assert that invalid bus widths can't be passed to bus_width_str().

Description

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)

Details

Provenance
jhbAuthored on Sep 15 2021, 4:03 PM
Reviewer
imp
Differential Revision
D31935: Assert that invalid bus widths can't be passed to bus_width_str().
Parents
rGe77b37914ad6: <linux/overflow.h>: Don't use __has_builtin().
Branches
Unknown
Tags
Unknown