Skip to content

Commit

Permalink
media: dvb: Fix -Wmisleading-indentation
Browse files Browse the repository at this point in the history
/drivers/media/dvb-core/dmxdev.c: In function ‘dvb_dmxdev_update_events’:
/drivers/media/dvb-core/dmxdev.c:455:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    if (bytes_read)
    ^~
/drivers/media/dvb-core/dmxdev.c:463:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
     if (!(events->event_mask.no_wakeup_mask &
     ^~

Change-Id: I31d720f168719c09eb440c5185ffb93ec47ddeea
  • Loading branch information
ACherepkov1989 authored and Thiviyan committed Sep 4, 2020
1 parent 4dc67b4 commit 68339dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/dvb-core/dmxdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,9 +457,9 @@ static int dvb_dmxdev_update_events(struct dmxdev_events_queue *events,
events->notified_index =
dvb_dmxdev_advance_event_idx(
events->notified_index);
if (!(events->event_mask.no_wakeup_mask &
event->type))
events->wakeup_events_counter--;
if (!(events->event_mask.no_wakeup_mask &
event->type))
events->wakeup_events_counter--;
}

events->read_index = events->notified_index;
Expand Down

0 comments on commit 68339dd

Please sign in to comment.