All of lore.kernel.org
 help / color / mirror / Atom feed
* sony-laptop: fix SNC buffer calls when SN06 returns Integers
@ 2012-12-18  7:08 Zhang Rui
  2012-12-18 21:39 ` Mattia Dongili
  0 siblings, 1 reply; 4+ messages in thread
From: Zhang Rui @ 2012-12-18  7:08 UTC (permalink / raw)
  To: platform-driver-x86@vger.kernel.org, malattia; +Cc: Zhang, Rui

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-19 22:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-18  7:08 sony-laptop: fix SNC buffer calls when SN06 returns Integers Zhang Rui
2012-12-18 21:39 ` Mattia Dongili
2012-12-19  1:00   ` Zhang Rui
2012-12-19 22:08     ` Mattia Dongili

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.