lkml.org 
[lkml]   [2010]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] viafb: I2C/DDC LCD detection for VIA framebuffer
Sorry for mistake. I sure to remove "const" but revert to older code later. I
repost fixed patch ("v2") to avoid formal problems. Sorry.

Dan Carpenter wrote:
> On Mon, Nov 22, 2010 at 02:31:55PM +0200, Dzianis Kahanovich wrote:
>> +static void via_i2c_detect(void)
>> +{
>> + const u8 *edid;
> ^^^^^
>
>> +free_edid:
>> + kfree(edid);
> ^^^^^^^^^^^
>
> That probably shouldn't be const.
>
>> + if (n > 1)
>> + break;
>> + }
>> +}
>> +
>>
>
> regards,
> dan carpenter
>
>


--
WBR, Dzianis Kahanovich AKA Denis Kaganovich, http://mahatma.bspu.unibel.by/


\
 
 \ /
  Last update: 2010-11-22 15:23    [W:0.031 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site