Re: [V4 PATCH 18/26] usb: phy: mv_usb2_phy: add externel chip support

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

 



On Mon, Jan 21, 2013 at 05:07:36AM -0500, Chao Xie wrote:
> +	mv_phy->extern_chip.head = devm_kzalloc(&pdev->dev,
> +					sizeof(*mv_phy->extern_chip.head),
> +					GFP_KERNEL);
> +	if (mv_phy->extern_chip.head == NULL)
> +		return -ENOMEM;
> +	ATOMIC_INIT_NOTIFIER_HEAD(mv_phy->extern_chip.head);

Why do you need to allocate an atomic notifier list head as an entirely
separate data structure?
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux