Re: [PATCH]MBM: add Ericsson mbm driver

From: Oliver Neukum
Date: Tue Oct 28 2008 - 05:33:08 EST


Am Dienstag, 28. Oktober 2008 02:45:15 schrieb Carl Nordbeck:
> +static void mbm_status(struct usbnet *dev, struct urb *urb)
> +{
> +       struct mbm_data *data = (void *)&dev->data;
> +       struct usb_cdc_notification *event;
> +
> +       if (urb->actual_length < sizeof *event)
> +               return;

Please use braces if you do such things. It's to easy to mistake for
a multiplication otherwise.

Regards
Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html