sony-laptop: fix SNC buffer calls when SN06 returns Integers

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

 



Hi, Mattia,

I saw your fix for the SN06 Integer return value issue at
http://www.spinics.net/lists/platform-driver-x86/msg03934.html

here is a duplicate bug report at
https://bugzilla.kernel.org/show_bug.cgi?id=50111

I generated a similar patch as yours but I still have one concern about the fix.

memcpy(buffer, (void *)&object->integer.value, len) may break the byte order but
sony_nc_rfkill_setup() terminates if byte 0xff is checked.
is this true? or am I thinking wrong?

thanks,
rui

--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux