[PATCH v3 memstick: support for legacy sony memsticks

From: Maxim Levitsky
Date: Wed Sep 26 2012 - 05:49:03 EST


Hi,
I am sending an updated version of the driver, this time
addressing comments by Tejun Heo


Changes since V2:

* Removed the mutex kludge - ordered worqueue indeed works well
* Removed manul major/minor handling
* Gave more specific names to two sg helpers.

Changes from V1:

* Replaced explicit state numbers with enum items.
I agree that code is cleaner this way.

* Swithced to using a workqueue.
Unfortunelly, I still see that workqueue items are executed in parallel
I suspect that this happens if one work item sleeps. In this case I
don't want other work items to run too. I fixed this with a mutex, and anyway
it nice to have it to guaranteee this.

* moved sg_nents into scatterlist.c/h and put that in separate patch as
requested

* Made functions static, fixed most whitespace issues (I hope all),
and I hope addressed all other comments by Andrew Morton.


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