| Submitter | Joe Perches |
|---|---|
| Date | Nov. 10, 2009, 4:05 a.m. |
| Message ID | <1257825945.12852.89.camel@Joe-Laptop.home> |
| Download | mbox | patch |
| Permalink | /patch/38039/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
From: Joe Perches <joe@perches.com> Date: Mon, 09 Nov 2009 20:05:45 -0800 > Untested, no hardware > > Signed-off-by: Joe Perches <joe@perches.com> Applied to net-next-2.6, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff --git a/drivers/net/niu.c b/drivers/net/niu.c index d6c7ac6..d0f96bc 100644 --- a/drivers/net/niu.c +++ b/drivers/net/niu.c @@ -8144,7 +8144,7 @@ static void __devinit niu_vpd_parse_version(struct niu *np) int i; for (i = 0; i < len - 5; i++) { - if (!strncmp(s + i, "FCode ", 5)) + if (!strncmp(s + i, "FCode ", 6)) break; } if (i >= len - 5)
Untested, no hardware Signed-off-by: Joe Perches <joe@perches.com> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html