linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] USB speedtouch: compile fix
@ 2003-04-23 14:54 Duncan Sands
  2003-04-23 19:34 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Duncan Sands @ 2003-04-23 14:54 UTC (permalink / raw)
  To: linux-usb-devel; +Cc: Greg KH, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

The rx_inuse field no longer exists.

 speedtch.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


diff -Nru a/drivers/usb/misc/speedtch.c b/drivers/usb/misc/speedtch.c
--- a/drivers/usb/misc/speedtch.c	Wed Apr 23 16:51:29 2003
+++ b/drivers/usb/misc/speedtch.c	Wed Apr 23 16:51:29 2003
@@ -579,8 +579,7 @@
 						atmsar_vcc->vcc->push (atmsar_vcc->vcc, new);
 					} else {
 						dbg
-						    ("dropping incoming packet : rx_inuse = %d, vcc->sk->rcvbuf = %d, skb->true_size = %d",
-						     atomic_read (&atmsar_vcc->vcc->rx_inuse),
+						    ("dropping incoming packet : vcc->sk->rcvbuf = %d, skb->true_size = %d",
 						     atmsar_vcc->vcc->sk->rcvbuf, new->truesize);
 						dev_kfree_skb (new);
 					}


[-- Attachment #2: compile-2.4.diff --]
[-- Type: text/x-diff, Size: 682 bytes --]

 speedtouch.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


diff -Nru a/drivers/usb/speedtouch.c b/drivers/usb/speedtouch.c
--- a/drivers/usb/speedtouch.c	Wed Apr 23 16:50:12 2003
+++ b/drivers/usb/speedtouch.c	Wed Apr 23 16:50:12 2003
@@ -579,8 +579,7 @@
 						atmsar_vcc->vcc->push (atmsar_vcc->vcc, new);
 					} else {
 						dbg
-						    ("dropping incoming packet : rx_inuse = %d, vcc->sk->rcvbuf = %d, skb->true_size = %d",
-						     atomic_read (&atmsar_vcc->vcc->rx_inuse),
+						    ("dropping incoming packet : vcc->sk->rcvbuf = %d, skb->true_size = %d",
 						     atmsar_vcc->vcc->sk->rcvbuf, new->truesize);
 						dev_kfree_skb (new);
 					}


[-- Attachment #3: compile-2.5.diff --]
[-- Type: text/x-diff, Size: 692 bytes --]

 speedtch.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


diff -Nru a/drivers/usb/misc/speedtch.c b/drivers/usb/misc/speedtch.c
--- a/drivers/usb/misc/speedtch.c	Wed Apr 23 16:51:29 2003
+++ b/drivers/usb/misc/speedtch.c	Wed Apr 23 16:51:29 2003
@@ -579,8 +579,7 @@
 						atmsar_vcc->vcc->push (atmsar_vcc->vcc, new);
 					} else {
 						dbg
-						    ("dropping incoming packet : rx_inuse = %d, vcc->sk->rcvbuf = %d, skb->true_size = %d",
-						     atomic_read (&atmsar_vcc->vcc->rx_inuse),
+						    ("dropping incoming packet : vcc->sk->rcvbuf = %d, skb->true_size = %d",
 						     atmsar_vcc->vcc->sk->rcvbuf, new->truesize);
 						dev_kfree_skb (new);
 					}


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

* Re: [PATCH] USB speedtouch: compile fix
  2003-04-23 14:54 [PATCH] USB speedtouch: compile fix Duncan Sands
@ 2003-04-23 19:34 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-04-23 19:34 UTC (permalink / raw)
  To: Duncan Sands; +Cc: linux-usb-devel, linux-kernel

On Wed, Apr 23, 2003 at 04:54:55PM +0200, Duncan Sands wrote:
> The rx_inuse field no longer exists.

Applied, thanks,

greg k-h

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

end of thread, other threads:[~2003-04-23 19:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-23 14:54 [PATCH] USB speedtouch: compile fix Duncan Sands
2003-04-23 19:34 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).