Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Simple PCIe FMC carrier SPEC - Software
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Simple PCIe FMC carrier SPEC - Software
Commits
813a69e4
Commit
813a69e4
authored
12 years ago
by
Alessandro Rubini
Browse files
Options
Downloads
Patches
Plain Diff
kernel/wr_nic: fix two warnings due to local changes
parent
64b1e044
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
kernel/wr_nic/device.c
+2
-0
2 additions, 0 deletions
kernel/wr_nic/device.c
kernel/wr_nic/nic-core.c
+1
-1
1 addition, 1 deletion
kernel/wr_nic/nic-core.c
with
3 additions
and
1 deletion
kernel/wr_nic/device.c
+
2
−
0
View file @
813a69e4
...
...
@@ -106,10 +106,12 @@ static int __devinit wrn_probe(struct platform_device *pdev)
struct
wrn_dev
*
wrn
=
drvdata
->
wrn
;
int
i
,
err
=
0
;
#if 0
/* Lazily: irqs are not in the resource list */
static int irqs[] = WRN_IRQ_NUMBERS;
static char *irq_names[] = WRN_IRQ_NAMES;
static irq_handler_t irq_handlers[] = WRN_IRQ_HANDLERS;
#endif
printk
(
"wrn = %p
\n
"
,
wrn
);
...
...
This diff is collapsed.
Click to expand it.
kernel/wr_nic/nic-core.c
+
1
−
1
View file @
813a69e4
...
...
@@ -159,7 +159,7 @@ static int wrn_start_xmit(struct sk_buff *skb, struct net_device *dev)
struct
wrn_ep
*
ep
=
netdev_priv
(
dev
);
struct
wrn_dev
*
wrn
=
ep
->
wrn
;
struct
skb_shared_info
*
info
=
skb_shinfo
(
skb
);
unsigned
long
flags
;
//
unsigned long flags;
int
desc
;
int
id
;
int
do_stamp
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment