Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
diag: Fix misleading indentation warning
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <[email protected]>
(cherry picked from commit d6e38b3)
  • Loading branch information
nathanchance committed Apr 9, 2018
1 parent a476032 commit 3d2cc0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/char/diag/diagfwd_peripheral.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,13 +448,14 @@ static void diagfwd_data_read_untag_done(struct diagfwd_info *fwd_info,
fwd_info->buf_2->data_raw == buf) {
flag_buf_2 = 1;
temp_ptr_cpd = fwd_info->buf_2;
if (fwd_info->type == TYPE_DATA)
if (fwd_info->type == TYPE_DATA) {
temp_buf_upd_1 =
fwd_info->buf_upd_1_b->data_raw;
if (peripheral ==
PERIPHERAL_LPASS)
temp_buf_upd_2 =
fwd_info->buf_upd_2_b->data_raw;
}
} else {
pr_err("diag: In %s, no match for buffer %pK, peripheral %d, type: %d\n",
__func__, buf, peripheral,
Expand Down

0 comments on commit 3d2cc0a

Please sign in to comment.