Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d87e3442
Commit
d87e3442
authored
Apr 22, 2003
by
Andrew Morton
Committed by
Greg Kroah-Hartman
Apr 22, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] usb: minor usb stuff
- nail a couple of warnings - usbnet is not compilable with gcc-2.95.3. Fix.
parent
28b8a8d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
drivers/usb/class/usb-midi.c
drivers/usb/class/usb-midi.c
+1
-1
drivers/usb/net/kaweth.c
drivers/usb/net/kaweth.c
+1
-1
drivers/usb/net/usbnet.c
drivers/usb/net/usbnet.c
+6
-2
No files found.
drivers/usb/class/usb-midi.c
View file @
d87e3442
...
...
@@ -820,7 +820,7 @@ static int usb_midi_open(struct inode *inode, struct file *file)
struct
list_head
*
devs
,
*
mdevs
;
struct
usb_midi_state
*
s
;
struct
usb_mididev
*
m
;
int
flags
;
unsigned
long
flags
;
int
succeed
=
0
;
#if 0
...
...
drivers/usb/net/kaweth.c
View file @
d87e3442
...
...
@@ -744,7 +744,7 @@ static int kaweth_start_xmit(struct sk_buff *skb, struct net_device *net)
}
}
private_header
=
__skb_push
(
skb
,
2
);
private_header
=
(
u16
*
)
__skb_push
(
skb
,
2
);
*
private_header
=
cpu_to_le16
(
skb
->
len
-
2
);
kaweth
->
tx_skb
=
skb
;
...
...
drivers/usb/net/usbnet.c
View file @
d87e3442
...
...
@@ -314,8 +314,12 @@ MODULE_PARM_DESC (msg_level, "Initial message level (default = 1)");
: (in_interrupt () ? "in_interrupt" : "can sleep"))
#ifdef DEBUG
#define devdbg(usbnet, fmt, arg...) \
printk(KERN_DEBUG "%s: " fmt "\n" , (usbnet)->net.name, ## arg)
#define devdbg(usbnet, fmt, arg...) \
do { \
printk(KERN_DEBUG "%s:", (usbnet)->net.name); \
printk(fmt, ## arg); \
printk("\n"); \
} while (0)
#else
#define devdbg(usbnet, fmt, arg...) do {} while(0)
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment