Merge patch series "Re-use device management code fragments"
authorMartin K. Petersen <martin.petersen@oracle.com>
Mon, 25 Mar 2024 20:51:18 +0000 (16:51 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 25 Mar 2024 20:51:18 +0000 (16:51 -0400)
commite831b92b37c6ce586b0beca27cf48b5df69f0d67
treeeaefac3ec847252168b29f7ad669be579ec7efad
parent4f378a7501b2a6cd886a1422fbd7e7fa12770598
parent996a24b99d63df08caf89fc03f4783279424788f
Merge patch series "Re-use device management code fragments"

Avri Altman <avri.altman@wdc.com> says:

Device management commands are constructed for query commands that are
being issued by the driver, but also for raw device management
commands originated by the bsg module, and recently, by the advanced
rpmb handler. Thus, the same code fragments, e.g. locking, composing
the command, composing the upiu etc., appear over and over. Remove
those duplications.  Theoretically, there should be no functional
change.

Link: https://lore.kernel.org/r/20240309081104.5006-1-avri.altman@wdc.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>