summaryrefslogtreecommitdiff
path: root/drivers/thunderbolt/tb.h
diff options
context:
space:
mode:
authorCristian Marussi <cristian.marussi@arm.com>2021-08-09 12:22:45 +0300
committerSudeep Holla <sudeep.holla@arm.com>2021-08-09 13:43:32 +0300
commitc0397c85b53d0bc6b081ff22d0d07e8eae149bba (patch)
tree592eae56e23c324866ec88b2690e7b341e5bb9f4 /drivers/thunderbolt/tb.h
parentd4fda7ec1d2a34ec50fc672896ba79d5ac8b7882 (diff)
downloadlinux-c0397c85b53d0bc6b081ff22d0d07e8eae149bba.tar.xz
firmware: arm_scmi: Use WARN_ON() to check configured transports
Use a WARN_ON() when SCMI stack is loaded to check the consistency of configured SCMI transports instead of the current compile-time check BUILD_BUG_ON() to avoid breaking bot-builds on random bad configs. Bail-out early and noisy during SCMI stack initialization if no transport was enabled in configuration since SCMI cannot work without at least one enabled transport and such constraint cannot be enforced in Kconfig due to circular dependency issues. Link: https://lore.kernel.org/r/20210809092245.8730-1-cristian.marussi@arm.com Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Cristian Marussi <cristian.marussi@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/thunderbolt/tb.h')
0 files changed, 0 insertions, 0 deletions