LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH] ipvs: remove unnecessary space

To: Simon Horman <horms@xxxxxxxxxxxx>, yangxingwu <xingwu.yang@xxxxxxxxx>, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
Subject: Re: [PATCH] ipvs: remove unnecessary space
Cc: wensong@xxxxxxxxxxxx, ja@xxxxxx, kadlec@xxxxxxxxxxxxxxxxx, fw@xxxxxxxxx, davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, lvs-devel@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, coreteam@xxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
From: Joe Perches <joe@xxxxxxxxxxx>
Date: Wed, 10 Jul 2019 17:22:16 -0700
On Wed, 2019-07-10 at 10:06 +0200, Simon Horman wrote:
> On Wed, Jul 10, 2019 at 03:45:52PM +0800, yangxingwu wrote:
> > this patch removes the extra space.
> > 
> > Signed-off-by: yangxingwu <xingwu.yang@xxxxxxxxx>
> 
> Thanks, this looks good to me.
> 
> Acked-by: Simon Horman <horms@xxxxxxxxxxxx>
> 
> Pablo, please consider including this in nf-next.
> 
> 
> > ---
> >  net/netfilter/ipvs/ip_vs_mh.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/net/netfilter/ipvs/ip_vs_mh.c b/net/netfilter/ipvs/ip_vs_mh.c
> > index 94d9d34..98e358e 100644
> > --- a/net/netfilter/ipvs/ip_vs_mh.c
> > +++ b/net/netfilter/ipvs/ip_vs_mh.c
> > @@ -174,8 +174,8 @@ static int ip_vs_mh_populate(struct ip_vs_mh_state *s,
> >             return 0;
> >     }
> >  
> > -   table =  kcalloc(BITS_TO_LONGS(IP_VS_MH_TAB_SIZE),
> > -                    sizeof(unsigned long), GFP_KERNEL);
> > +   table = kcalloc(BITS_TO_LONGS(IP_VS_MH_TAB_SIZE),
> > +                   sizeof(unsigned long), GFP_KERNEL);

bitmap_alloc?

> >     if (!table)
> >             return -ENOMEM;
> >  
> > -- 
> > 1.8.3.1
> > 


<Prev in Thread] Current Thread [Next in Thread>