]> err.no Git - linux-2.6/commitdiff
V4L/DVB (8276): sms1xxx: codingstyle cleanup: "(foo*)" should be "(foo *)"
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 6 May 2008 06:52:44 +0000 (03:52 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:21:05 +0000 (07:21 -0300)
ERROR: "(foo*)" should be "(foo *)"

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/siano/smsdvb.c
drivers/media/dvb/siano/smsusb.c

index 717e0e97fd1fed0bb1ed105b069282f837848850..6975e7c61f875890c19f872988d61fbc7faa1a09 100644 (file)
@@ -32,12 +32,13 @@ kmutex_t g_smsdvb_clientslock;
 int smsdvb_onresponse(void *context, smscore_buffer_t *cb)
 {
        smsdvb_client_t *client = (smsdvb_client_t *) context;
-       SmsMsgHdr_ST *phdr = (SmsMsgHdr_ST *)(((u8*) cb->p) + cb->offset);
+       SmsMsgHdr_ST *phdr = (SmsMsgHdr_ST *)(((u8 *) cb->p) + cb->offset);
 
        switch(phdr->msgType)
        {
                case MSG_SMS_DVBT_BDA_DATA:
-                       dvb_dmx_swfilter(&client->demux, (u8*)(phdr + 1), cb->size - sizeof(SmsMsgHdr_ST));
+                       dvb_dmx_swfilter(&client->demux, (u8 *)(phdr + 1),
+                                        cb->size - sizeof(SmsMsgHdr_ST));
                        break;
 
                case MSG_SMS_RF_TUNE_RES:
@@ -46,7 +47,8 @@ int smsdvb_onresponse(void *context, smscore_buffer_t *cb)
 
                case MSG_SMS_GET_STATISTICS_RES:
                {
-                       SmsMsgStatisticsInfo_ST* p = (SmsMsgStatisticsInfo_ST*)(phdr + 1);
+                       SmsMsgStatisticsInfo_ST *p =
+                               (SmsMsgStatisticsInfo_ST *)(phdr + 1);
 
                        if (p->Stat.IsDemodLocked)
                        {
@@ -97,7 +99,7 @@ void smsdvb_onremove(void *context)
 {
        kmutex_lock(&g_smsdvb_clientslock);
 
-       smsdvb_unregister_client((smsdvb_client_t*) context);
+       smsdvb_unregister_client((smsdvb_client_t *) context);
 
        kmutex_unlock(&g_smsdvb_clientslock);
 }
@@ -420,7 +422,7 @@ void smsdvb_unregister(void)
        kmutex_lock(&g_smsdvb_clientslock);
 
        while (!list_empty(&g_smsdvb_clients))
-               smsdvb_unregister_client((smsdvb_client_t*) g_smsdvb_clients.next);
+               smsdvb_unregister_client((smsdvb_client_t *) g_smsdvb_clients.next);
 
        kmutex_unlock(&g_smsdvb_clientslock);
 
index 87dda39a798526eeec7b2b84b9e6dc16dda68181..1677f85915081c79988bc46c63a5d7cf13d08ce3 100644 (file)
@@ -86,7 +86,8 @@ void smsusb_onresponse(struct urb *urb)
                                }
 
                                // move buffer pointer and copy header to its new location
-                               memcpy((char*) phdr + surb->cb->offset, phdr, sizeof(SmsMsgHdr_ST));
+                               memcpy((char *) phdr + surb->cb->offset,
+                                      phdr, sizeof(SmsMsgHdr_ST));
                        }
                        else
                                surb->cb->offset = 0;
@@ -264,7 +265,7 @@ int smsusb1_setmode(void *context, int mode)
 
 void smsusb_term_device(struct usb_interface *intf)
 {
-       smsusb_device_t *dev = (smsusb_device_t*) usb_get_intfdata(intf);
+       smsusb_device_t *dev = (smsusb_device_t *) usb_get_intfdata(intf);
 
        if (dev)
        {