nvme: Elaborate on cache maintenance operation in get/set_features
authorAndre Przywara <andre.przywara@arm.com>
Tue, 2 Mar 2021 15:43:43 +0000 (15:43 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 19 Mar 2021 14:36:55 +0000 (10:36 -0400)
commit4c498796891a26a7283130f367a346096a6ccce7
tree46324d6775b7ef08eb43f92cbc43b937939fc001
parentd0c04926cd054cf7360ec15913ac17a465f32603
nvme: Elaborate on cache maintenance operation in get/set_features

At the moment the nvme_get_features() and nvme_set_features() functions
carry a (somewhat misleading) comment about missing cache maintenance.

As it turns out, nvme_get_features() has no caller at all in the tree,
and nvme_set_features' only user doesn't use a DMA buffer.

Mention that in the comment, and leave some breadcrumbs for the future,
should those functions attract more users.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/nvme/nvme.c