Bug in mmc_start_req() ?

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

 



I don't understand all the implications...but my gut feeling is this
change is necessary. Can someone please explain why I'm wrong?

(key here is to use "err || start_err" - same logic as a few lines
above to call mmc_post_req(...-EINVAL))

-       if (err)
-               host->areq = NULL;
-       else
-               host->areq = areq;
+       host->areq = (err || start_err) ? NULL : areq;

If someone agrees, I'll post a proper patch.

thanks,
grant
--
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