Re: [dm-devel] [PATCH 12/35] libmultipath: strlcpy()/strlcat(): use restrict qualifier

2020-08-04 Thread Martin Wilck
On Tue, 2020-08-04 at 12:29 -0500, Benjamin Marzinski wrote: > On Tue, Aug 04, 2020 at 05:36:31PM +0200, Martin Wilck wrote: > > On Thu, 2020-07-16 at 17:18 -0500, Benjamin Marzinski wrote: > > > On Thu, Jul 09, 2020 at 12:15:57PM +0200, mwi...@suse.com wrote: > > > > From: Martin Wilck > > > > >

Re: [dm-devel] [PATCH 12/35] libmultipath: strlcpy()/strlcat(): use restrict qualifier

2020-08-04 Thread Benjamin Marzinski
On Tue, Aug 04, 2020 at 05:36:31PM +0200, Martin Wilck wrote: > On Thu, 2020-07-16 at 17:18 -0500, Benjamin Marzinski wrote: > > On Thu, Jul 09, 2020 at 12:15:57PM +0200, mwi...@suse.com wrote: > > > From: Martin Wilck > > > > > > Also remove the redundant local variables. It's not necessary to >

Re: [dm-devel] [PATCH 12/35] libmultipath: strlcpy()/strlcat(): use restrict qualifier

2020-08-04 Thread Martin Wilck
On Thu, 2020-07-16 at 17:18 -0500, Benjamin Marzinski wrote: > On Thu, Jul 09, 2020 at 12:15:57PM +0200, mwi...@suse.com wrote: > > From: Martin Wilck > > > > Also remove the redundant local variables. It's not necessary to > > make "restrict" work, but it makes the intention more clear. > > > >

Re: [dm-devel] [PATCH 12/35] libmultipath: strlcpy()/strlcat(): use restrict qualifier

2020-07-16 Thread Benjamin Marzinski
On Thu, Jul 09, 2020 at 12:15:57PM +0200, mwi...@suse.com wrote: > From: Martin Wilck > > Also remove the redundant local variables. It's not necessary to > make "restrict" work, but it makes the intention more clear. > > Signed-off-by: Martin Wilck > --- > libmultipath/util.c | 28 +++

[dm-devel] [PATCH 12/35] libmultipath: strlcpy()/strlcat(): use restrict qualifier

2020-07-09 Thread mwilck
From: Martin Wilck Also remove the redundant local variables. It's not necessary to make "restrict" work, but it makes the intention more clear. Signed-off-by: Martin Wilck --- libmultipath/util.c | 28 libmultipath/util.h | 4 ++-- 2 files changed, 14 insertions(