]> git.baikalelectronics.ru Git - kernel.git/commitdiff
media: av7110: fix prohibited spaces in switch statement
authorHusni Faiz <ahamedhusni73@gmail.com>
Sun, 20 Mar 2022 16:36:18 +0000 (17:36 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:18 +0000 (11:02 +0200)
This patch fixes "space prohibited before that ':'" checkpatch error
in the switch statements.

Suggested-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/av7110/av7110_av.c

index 1d42862e96695d56d2f2fd5bb3356699cdf3e77d..ab7cf496b4540e36524d8953f22278c874910090 100644 (file)
@@ -595,10 +595,10 @@ static int find_pes_header(u8 const *buf, long int length, int *frags)
                        case PROG_STREAM_MAP:
                        case PRIVATE_STREAM2:
                        case PROG_STREAM_DIR:
-                       case ECM_STREAM     :
-                       case EMM_STREAM     :
-                       case PADDING_STREAM :
-                       case DSM_CC_STREAM  :
+                       case ECM_STREAM:
+                       case EMM_STREAM:
+                       case PADDING_STREAM:
+                       case DSM_CC_STREAM:
                        case ISO13522_STREAM:
                        case PRIVATE_STREAM1:
                        case AUDIO_STREAM_S ... AUDIO_STREAM_E:
@@ -659,10 +659,10 @@ void av7110_p2t_write(u8 const *buf, long int length, u16 pid, struct av7110_p2t
                        case PROG_STREAM_MAP:
                        case PRIVATE_STREAM2:
                        case PROG_STREAM_DIR:
-                       case ECM_STREAM     :
-                       case EMM_STREAM     :
-                       case PADDING_STREAM :
-                       case DSM_CC_STREAM  :
+                       case ECM_STREAM:
+                       case EMM_STREAM:
+                       case PADDING_STREAM:
+                       case DSM_CC_STREAM:
                        case ISO13522_STREAM:
                        case PRIVATE_STREAM1:
                        case AUDIO_STREAM_S ... AUDIO_STREAM_E:
@@ -773,10 +773,10 @@ static void p_to_t(u8 const *buf, long int length, u16 pid, u8 *counter,
                case PROG_STREAM_MAP:
                case PRIVATE_STREAM2:
                case PROG_STREAM_DIR:
-               case ECM_STREAM     :
-               case EMM_STREAM     :
-               case PADDING_STREAM :
-               case DSM_CC_STREAM  :
+               case ECM_STREAM:
+               case EMM_STREAM:
+               case PADDING_STREAM:
+               case DSM_CC_STREAM:
                case ISO13522_STREAM:
                case PRIVATE_STREAM1:
                case AUDIO_STREAM_S ... AUDIO_STREAM_E: