| commit | 4c22c10dfccdebdd1cbad86a8bdfaeccf5556a77 | [log] [tgz] |
|---|---|---|
| author | Pavankumar Kondeti <pkondeti@codeaurora.org> | Fri Jun 15 10:59:05 2012 +0530 |
| committer | Pavankumar Kondeti <pkondeti@codeaurora.org> | Fri Jun 15 11:06:14 2012 +0530 |
| tree | 679e826c09e966e3e69b42fd191186b35d60feb1 | |
| parent | 2ab52a74d0f78114d8d74a7e0234e16c55dcac36 [diff] |
USB: android: strim serial number buffer User space writes USB serial number to a sysfs file. Strim the buffer before copying to USB string descriptor, otherwise serial number may contain white spaces or new line characters. Change-Id: If0dc699f53b92d80beaa099148f085d6c63af9a6 Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>