Re: [PATCH]MBM: add Ericsson mbm driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux