linux/drivers/staging/greybus
Coiby Xu 6c75a92a00 staging: greybus: use __force when assigning __u8 value to snd_ctl_elem_type_t
(struct gb_audio_ctl_elem_info*)->type has the type of __u8 so there is no
concern about the byte order. __force is safe to use.

Found by sparse,

$ make C=2 drivers/staging/greybus/
drivers/staging/greybus/audio_topology.c:185:24: warning: cast to restricted snd_ctl_elem_type_t

Suggested-by: Alex Elder <elder@linaro.org>
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
Link: https://lore.kernel.org/r/20201002233057.74462-3-coiby.xu@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-05 14:23:55 +02:00
..
Documentation
tools SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
arche_platform.h
arche-apb-ctrl.c
arche-platform.c
audio_apbridgea.c
audio_apbridgea.h
audio_codec.c staging: greybus: codecs: use SNDRV_PCM_FMTBIT_S16_LE for format bitmask 2020-10-05 14:23:55 +02:00
audio_codec.h staging: greybus: audio: Resolve compilation errors for GB codec module 2020-07-29 16:40:09 +02:00
audio_gb.c
audio_helper.c staging: greybus: audio: Uninitialized variable in gbaudio_remove_controls() 2020-08-18 16:12:53 +02:00
audio_helper.h staging: greybus: audio: Add helper APIs for dynamic audio modules 2020-07-29 16:40:09 +02:00
audio_manager_module.c
audio_manager_private.h
audio_manager_sysfs.c
audio_manager.c
audio_manager.h
audio_module.c staging: greybus: fix warnings about endianness detected by sparse 2020-10-05 14:23:55 +02:00
audio_topology.c staging: greybus: use __force when assigning __u8 value to snd_ctl_elem_type_t 2020-10-05 14:23:55 +02:00
authentication.c
bootrom.c
camera.c
firmware.h
fw-core.c
fw-download.c
fw-management.c
gb-camera.h
gbphy.c
gbphy.h staging: greybus: Add identifier name to function definition argument 2020-08-18 16:07:17 +02:00
gpio.c staging: greybus: gpio: Use irqchip template 2020-07-28 10:05:33 +02:00
greybus_authentication.h
greybus_firmware.h
hid.c staging: greybus: hid: remove braces {} around single statement block 2020-04-13 08:55:26 +02:00
i2c.c staging: greybus: i2c: remove unused pointers 2020-03-17 12:47:24 +01:00
Kconfig staging: greybus: audio: Enable GB codec, audio module compilation. 2020-07-29 16:40:26 +02:00
light.c staging: greybus: fix a missing-check bug in gb_lights_light_config() 2020-04-13 08:55:26 +02:00
log.c
loopback.c staging: greybus: loopback: fix a spelling error. 2020-05-27 10:18:09 +02:00
Makefile staging: greybus: audio: Enable GB codec, audio module compilation. 2020-07-29 16:40:26 +02:00
power_supply.c
pwm.c
raw.c
sdio.c mmc: host: Drop redundant MMC_CAP_ERASE 2020-05-28 11:22:14 +02:00
spi.c
spilib.c
spilib.h
TODO
uart.c Merge 5.7-rc7 into staging-next 2020-05-25 09:11:19 +02:00
usb.c
vibrator.c