On Wed, 30 May 2018 18:45:53 +0200 Christoph Hellwig <h...@lst.de> wrote:
> Remove the common code to allocate a buffer and copy it into the SGL. > Instead the two no-op implementations just zero the SGL directly, and > the smart log allocates a buffer on its own. This prepares for the > more elaborate ANA log page. > > Signed-off-by: Christoph Hellwig <h...@lst.de> > Reviewed-by: Johannes Thumshirn <jthumsh...@suse.de> > --- > drivers/nvme/target/admin-cmd.c | 99 > ++++++++++++--------------------- 1 file changed, 36 insertions(+), > 63 deletions(-) > Reviewed-by: Hannes Reinecke <h...@suse.com> Cheers, Hannes