aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorjames qian wang (Arm Technology China) <[email protected]>2019-05-24 02:55:45 +0000
committerLiviu Dudau <[email protected]>2019-06-19 10:42:17 +0000
commit420810cec63bfd15069de1681605f137a8886d25 (patch)
treef55a3e34c5809bdb719e2e0b591676b21b1d7798 /fs/ubifs/commit.c
parentdrm/komeda: Add slave pipeline support (diff)
downloadkernel-420810cec63bfd15069de1681605f137a8886d25.tar.gz
kernel-420810cec63bfd15069de1681605f137a8886d25.zip
drm/komeda: Refine function to_d71_input_id
Since the component_state->input[i] is only valid when it is active, the content of input[i] is undefined if it is inactive. The user must check the state->active_inputs with input index firstly before using state->input[i]. Refine the function to_d71_input_id and directly move such check into it. Simplify the using and avoid problem that caller forget the valid check. Depends on: - https://patchwork.freedesktop.org/series/60856/ Signed-off-by: James Qian Wang (Arm Technology China) <[email protected]> Signed-off-by: Liviu Dudau <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions