lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1373895529.2062.15.camel@joe-AO722>
Date:	Mon, 15 Jul 2013 06:38:49 -0700
From:	Joe Perches <joe@...ches.com>
To:	Peng Tao <bergwolf@...il.com>
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	linux-kernel@...r.kernel.org,
	Andreas Dilger <andreas.dilger@...el.com>
Subject: Re: [PATCH-v2 06/17] staging/lustre: remove HIPQUAD

On Mon, 2013-07-15 at 21:08 +0800, Peng Tao wrote:
[]
> We should just remove HIPQUAD and replace it with %pI4.

HIPQUAD and NIPQUAD were host and network order variants.
Perhaps you need %pI4h for the host uses?

> diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c
[]
> @@ -2574,8 +2574,8 @@ kiblnd_dev_need_failover(kib_dev_t *dev)
>  	rc = rdma_resolve_addr(cmid, (struct sockaddr *)&srcaddr,
>  			       (struct sockaddr *)&dstaddr, 1);
>  	if (rc != 0 || cmid->device == NULL) {
> -		CERROR("Failed to bind %s:%u.%u.%u.%u to device(%p): %d\n",
> -		       dev->ibd_ifname, HIPQUAD(dev->ibd_ifip),
> +		CERROR("Failed to bind %s:%pI4 to device(%p): %d\n",
> +		       dev->ibd_ifname, &dev->ibd_ifip,
>  		       cmid->device, rc);

Like this one?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ