summaryrefslogtreecommitdiffstats
path: root/fs/fhandle.c
diff options
context:
space:
mode:
authorCoiby Xu <coiby.xu@gmail.com>2020-10-03 07:30:56 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-05 14:23:55 +0200
commit6c75a92a0065a009429cec2c69f922f07cbbcd1e (patch)
treee686171e461aa6a025b7ac94abd8e1053051daa1 /fs/fhandle.c
parent8bb5b59de7aac4f7256309c272216ad61aed034e (diff)
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>
Diffstat (limited to 'fs/fhandle.c')
0 files changed, 0 insertions, 0 deletions