Re: [PATCH 1/1] mmc: sdhci-spear: Fix NULL pointer dereference

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

 



On 12 September 2013 13:48, Sachin Kamat <sachin.kamat@xxxxxxxxxx> wrote:
>>>  96      return ERR_PTR(-ENODATA);
>
> Wouldn't this be unconditional error return whether pdata is null or not?

Stupid me... I meant return pdata from this place..

Necessary checks are done in sdhci_probe()
--
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