Messages in this thread | | | Date | Mon, 22 Nov 2010 16:24:19 +0200 | From | Dzianis Kahanovich <> | Subject | Re: [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/
| |