Commit 55ad310c authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (8276): sms1xxx: codingstyle cleanup: "(foo*)" should be "(foo *)"



ERROR: "(foo*)" should be "(foo *)"

Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent a83ccdd6
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -37,7 +37,8 @@ int smsdvb_onresponse(void *context, smscore_buffer_t *cb)
	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)
			{
+3 −2
Original line number Diff line number Diff line
@@ -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;