On Wed, 30 May 2018 18:45:53 +0200 Christoph Hellwig <hch@xxxxxx> 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 <hch@xxxxxx> > Reviewed-by: Johannes Thumshirn <jthumshirn@xxxxxxx> > --- > drivers/nvme/target/admin-cmd.c | 99 > ++++++++++++--------------------- 1 file changed, 36 insertions(+), > 63 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes