[PATCH] staging: sm750fb: fix c99 comments

Juston Li juston.h.li at gmail.com
Fri Jun 12 10:08:57 UTC 2015


On Fri, Jun 12, 2015 at 2:21 AM, Konrad Zapalowicz
<bergo.torino at gmail.com> wrote:
>> diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c
>> index 8b47c1b..b2137c8 100644
>> --- a/drivers/staging/sm750fb/ddk750_chip.c
>> +++ b/drivers/staging/sm750fb/ddk750_chip.c
>> @@ -17,7 +17,7 @@ logical_chip_type_t getChipType(void)
>>       char physicalRev;
>>       logical_chip_type_t chip;
>>
>> -     physicalID = devId750;//either 0x718 or 0x750
>> +     physicalID = devId750; /* either 0x718 or 0x750 /
>
> Does the code compile? I'm worried that the above line will produce
> error as the comment block is not properly closed.
>
>  - konrad

Good catch, can't believe I missed that. I'll fix, actually test compile
this time and resend.

Regards
Juston


More information about the devel mailing list