public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5/8] usb: use get_unaligned_* helpers
@ 2008-05-02  3:52 Harvey Harrison
  2008-05-08 22:39 ` patch usb-use-get_unaligned_-helpers-for-kl5kusb105-driver.patch added to gregkh-2.6 tree gregkh
  0 siblings, 1 reply; 2+ messages in thread
From: Harvey Harrison @ 2008-05-02  3:52 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Greg KH, LKML

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 drivers/usb/serial/kl5kusb105.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/serial/kl5kusb105.c b/drivers/usb/serial/kl5kusb105.c
index f328948..79787ed 100644
--- a/drivers/usb/serial/kl5kusb105.c
+++ b/drivers/usb/serial/kl5kusb105.c
@@ -236,7 +236,7 @@ static int klsi_105_get_line_state(struct usb_serial_port *port,
 	if (rc < 0)
 		err("Reading line status failed (error = %d)", rc);
 	else {
-		status = le16_to_cpu(get_unaligned((__le16 *)status_buf));
+		status = get_unaligned_le16(status_buf);
 
 		info("%s - read status %x %x", __func__,
 		     status_buf[0], status_buf[1]);
-- 
1.5.5.1.350.gbbbf



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

* patch usb-use-get_unaligned_-helpers-for-kl5kusb105-driver.patch added to gregkh-2.6 tree
  2008-05-02  3:52 [PATCH 5/8] usb: use get_unaligned_* helpers Harvey Harrison
@ 2008-05-08 22:39 ` gregkh
  0 siblings, 0 replies; 2+ messages in thread
From: gregkh @ 2008-05-08 22:39 UTC (permalink / raw)
  To: harvey.harrison, akpm, gregkh, linux-kernel


This is a note to let you know that I've just added the patch titled

     Subject: USB: use get_unaligned_* helpers for kl5kusb105 driver

to my gregkh-2.6 tree.  Its filename is

     usb-use-get_unaligned_-helpers-for-kl5kusb105-driver.patch

This tree can be found at 
    http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


>From harvey.harrison@gmail.com Thu May  1 20:52:48 2008
From: Harvey Harrison <harvey.harrison@gmail.com>
Date: Thu, 01 May 2008 20:52:57 -0700
Subject: USB: use get_unaligned_* helpers for kl5kusb105 driver
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg KH <gregkh@suse.de>, LKML <linux-kernel@vger.kernel.org>
Message-ID: <1209700377.22362.20.camel@brick>


Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
 drivers/usb/serial/kl5kusb105.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/usb/serial/kl5kusb105.c
+++ b/drivers/usb/serial/kl5kusb105.c
@@ -236,7 +236,7 @@ static int klsi_105_get_line_state(struc
 	if (rc < 0)
 		err("Reading line status failed (error = %d)", rc);
 	else {
-		status = le16_to_cpu(get_unaligned((__le16 *)status_buf));
+		status = get_unaligned_le16(status_buf);
 
 		info("%s - read status %x %x", __func__,
 		     status_buf[0], status_buf[1]);


Patches currently in gregkh-2.6 which might be from harvey.harrison@gmail.com are

usb.next/usb-fix-integer-as-null-pointer-warnings-found-by-sparse.patch
usb.next/usb-use-get_unaligned_-helpers-for-kl5kusb105-driver.patch

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

end of thread, other threads:[~2008-05-08 22:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-02  3:52 [PATCH 5/8] usb: use get_unaligned_* helpers Harvey Harrison
2008-05-08 22:39 ` patch usb-use-get_unaligned_-helpers-for-kl5kusb105-driver.patch added to gregkh-2.6 tree gregkh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox