From: Martin Wilck Subject: Re: [PATCH 2/5] libmultipath: turn pp->vpd_data into a pointer Date: Wed, 19 Feb 2020 10:31:44 +0100 Message-ID: References: <1582095273-10279-1-git-send-email-bmarzins@redhat.com> <1582095273-10279-3-git-send-email-bmarzins@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1582095273-10279-3-git-send-email-bmarzins@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Benjamin Marzinski , Christophe Varoqui Cc: device-mapper development List-Id: dm-devel.ids On Wed, 2020-02-19 at 00:54 -0600, Benjamin Marzinski wrote: > Instead of always allocating space in the path structure for > vpd_data, > only allocte it when necessary. > > Also, fix comments on vpd tests > > Signed-off-by: Benjamin Marzinski > --- > libmultipath/discovery.c | 17 +++++++++++++++-- > libmultipath/print.c | 4 ++-- > libmultipath/structs.c | 3 +++ > libmultipath/structs.h | 2 +- > tests/vpd.c | 3 ++- > 5 files changed, 23 insertions(+), 6 deletions(-) Reviewed-by: Martin Wilck