Re: [v5, 2/5] soc: fsl: add GUTS driver for QorIQ platforms

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

 



On 03/04/2016 03:47 AM, Yangbo Lu wrote:
> +int fsl_guts_init(void)
> +{
> +	struct device_node *np;
> +
> +	/* Initialize guts only once */
> +	if (guts)
> +		return guts->regs ? 0 : -ENOMEM;

This check needs to be threadsafe.

-Scott

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



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux