Messages in this thread | | | Date | Wed, 16 Sep 2009 15:43:55 +0300 | Subject | Re: [PATCH v2] media: video: pwc: Use kernel's simple_strtol() | From | Pekka Enberg <> |
| |
On Wed, Sep 16, 2009 at 3:26 PM, Andy Shevchenko <andy.shevchenko@gmail.com> wrote: > @@ -2078,13 +2066,13 @@ static int __init usb_pwc_init(void) > } > else { > /* No type or serial number specified, just a number. */ > - device_hint[i].device_node = pwc_atoi(s); > + device_hint[i].device_node = (int)simple_strtol(s, NULL, 10);
What's with all the casting to int? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |