From: Andrew Morton <akpm@linux-foundation.org>
To: "Antti Kaijanmäki" <antti.kaijanmaki@nomovok.com>
Cc: Greg KH <greg@kroah.com>,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
Jan Dumon <j.dumon@option.com>
Subject: Re: [PATCH] hso: fix debug routines
Date: Wed, 28 Oct 2009 16:16:17 -0700 [thread overview]
Message-ID: <20091028161617.26a58618.akpm@linux-foundation.org> (raw)
In-Reply-To: <1256653615.3591.113.camel@nomovok.homedomain>
On Tue, 27 Oct 2009 16:26:55 +0200
Antti Kaijanmäki <antti.kaijanmaki@nomovok.com> wrote:
> On Mon, 2009-10-26 at 12:40 -0700, Greg KH wrote:
> > Yes, that should be a new patch, especially as it would not be needed
> > to fix older kernels for the original bug.
> >
> > So, care to send 2 patches? The debug one isn't needed to be sent to
> > the stable@kernel.org address.
>
>
> Signed-off-by: Antti Kaijanmäki <antti.kaijanmaki@nomovok.com>
> ---
> drivers/net/usb/hso.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c
> index fa4e581..746839b 100644
> --- a/drivers/net/usb/hso.c
> +++ b/drivers/net/usb/hso.c
> @@ -378,7 +378,7 @@ static void dbg_dump(int line_count, const char *func_name, unsigned char *buf,
> }
>
> #define DUMP(buf_, len_) \
> - dbg_dump(__LINE__, __func__, buf_, len_)
> + dbg_dump(__LINE__, __func__, (unsigned char *)buf_, len_)
>
> #define DUMP1(buf_, len_) \
> do { \
> @@ -1527,7 +1527,7 @@ static void tiocmget_intr_callback(struct urb *urb)
> dev_warn(&usb->dev,
> "hso received invalid serial state notification\n");
> DUMP(serial_state_notification,
> - sizeof(hso_serial_state_notifation))
> + sizeof(struct hso_serial_state_notification));
> } else {
>
> UART_state_bitmap = le16_to_cpu(serial_state_notification->
This patch has no changelog, and I'm not seeing any description of what
it fixes and how it fixes it up-thread.
next prev parent reply other threads:[~2009-10-28 23:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-22 8:36 [PATCH] fix hso soft-lockup Antti Kaijanmäki
2009-10-26 7:53 ` Antti Kaijanmäki
2009-10-26 17:15 ` Greg KH
2009-10-26 19:37 ` Antti Kaijanmäki
2009-10-26 19:40 ` Greg KH
2009-10-27 14:26 ` [PATCH] hso: fix debug routines Antti Kaijanmäki
2009-10-28 23:16 ` Andrew Morton [this message]
2009-10-29 6:57 ` Antti Kaijanmäki
2009-10-27 14:26 ` [PATCH] hso: fix soft-lockup Antti Kaijanmäki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091028161617.26a58618.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=antti.kaijanmaki@nomovok.com \
--cc=greg@kroah.com \
--cc=j.dumon@option.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox