Re: [PATCH 1/1] [usb/host]: use get/put_unaligned_* helpers to fix more potential unaligned issues.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bryan Wu <cooloney@...>
Cc: Jie Zhang <jie.zhang@...>, Oliver Neukum <oliver@...>, <harvey.harrison@...>, <david-b@...>, <greg@...>, <linux-usb@...>, <linux-kernel@...>
Date: Thursday, May 15, 2008 - 10:28 am

On Thu, 15 May 2008, Bryan Wu wrote:


But the hub_control routines are almost never called by anything 
other than rh_call_control().  The only exception is in ehci_hub.c, and 
there the buf pointer is NULL.

So I don't see any need for this patch.

On the other hand, Jie could make a bunch of useful changes to
drivers/usb/gadget/file_storage.c, which has its own private routines
for unaligned little-endian access.

Alan Stern

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/1] [usb/host]: use get/put_unaligned_* helpers ..., Alan Stern, (Thu May 15, 10:28 am)
[PATCH] usb: file-storage.c use unaligned access helpers, Harvey Harrison, (Thu May 15, 8:33 pm)
[RFC-PATCH] lib: add byteorder helpers for the aligned case, Harvey Harrison, (Fri May 16, 2:09 pm)