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