2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 18:53:52 +08:00
linux-next/drivers/staging/most
Christian Gromm a6f9d846cc staging: most: make function most_submit_mbo return void
Function most_submit_mbo() causes an exception only if either the pointer
mbo or mbo->context equals NULL. From the underlying architecture's point
of view both cases must _not_ come true and would happen only, if something
has tampered with the pointers. This would render runtime code unable to
recover anyway. So, instead trying to hide that things are already
critically out of control we're better off with a WARN_ON() assertion.

This patch replaces the return type of the function most_submit_mbo() with
'void' and adds a WARN_ONCE() assertion. Additionally, code calling the
function is adapted accordingly.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-22 11:54:46 +02:00
..
aim-cdev staging: most: make function most_submit_mbo return void 2016-09-22 11:54:46 +02:00
aim-network staging: most: aim-network: fix interrupt unsafe spinlocks 2016-08-18 17:24:00 +02:00
aim-sound staging: most: make function most_submit_mbo return void 2016-09-22 11:54:46 +02:00
aim-v4l2 staging: most: v4l2-aim: remove unnecessary spaces 2016-08-15 19:17:04 +02:00
Documentation staging: most: Documentation: update ABI description 2016-09-12 09:47:15 +02:00
hdm-dim2 staging: most: hdm-dim2: monitor atx DBR space 2016-09-15 19:23:29 +02:00
hdm-i2c staging: most: use preferred kernel types 2015-10-24 19:08:20 -07:00
hdm-usb staging: most: hdm-usb: convert pr_warn() to dev_warn() 2016-09-20 13:59:45 +02:00
mostcore staging: most: make function most_submit_mbo return void 2016-09-22 11:54:46 +02:00
Kconfig Staging: most: MOST and MOSTCORE should depend on HAS_DMA 2015-09-13 09:24:44 -07:00
Makefile Staging: most: add MOST driver's hdm-usb module 2015-07-24 13:50:43 -07:00
TODO