Re: [PATCH] Bluetooth: Silence sparse warning

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

 



Hi Marcel,

On Mon, Mar 19, 2012 at 10:39:20AM -0700, Marcel Holtmann wrote:
> > -	memcpy(&val, &uuid128[12], 4);
> > +	memcpy(&tmp, &uuid128[12], 4);
> >  
> > -	val = le32_to_cpu(val);
> > +	val = le32_to_cpu(tmp);
> 
> why aren't we using get_unaligned_le32?

You are right here, just sent new version.

Best regards 
Andrei Emeltchenko 
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux