Re: [PATCH v2] ASoC: cht_bsw_rt5645: Fix writing to string literal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 3, 2016 at 12:32 PM, Vinod Koul <vinod.koul@xxxxxxxxx> wrote:
> On Fri, Feb 26, 2016 at 11:12:10AM +0900, Mark Brown wrote:
>> On Tue, Feb 23, 2016 at 09:50:20AM +0100, Carlo Caione wrote:
>> > From: Carlo Caione <carlo@xxxxxxxxxxxx>
>> >
>> > We cannot use strcpy() to write to a const char * location. This is
>> > causing a 'BUG: unable to handle kernel paging request' error at boot
>> > when using the cht-bsw-rt5645 driver.
>> >
>> > With this patch we also fix a wrong indexing in the driver where the
>> > codec_name of the wrong dai_link is being overwritten.
>>
>> So how was the original code tested then...?
>
> I know systems using this are shipping so surprised to see this.
>
> Carlo cna you please tell me the configuration where it is seen.

Hi Vinod,
I'm working on the ECS EF20EA cherry-trail laptop. This is the used
configuration:

https://gist.github.com/carlocaione/925540bc7b04eff01aa8

Cheers,

-- 
Carlo Caione  |  +39.340.80.30.096  |  Endless
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux