2009-12-28 21:48:53

by Robert P. J. Day

[permalink] [raw]
Subject: [PATCH] INFINIBAND: Correct CONFIG_IPv6 to CONFIG_IPV6.


Correct misspelled "CONFIG_IPv6" that was introduced in commit
d14714df61681cfecf945a58436edf197327e87f, should be all uppercase.

Signed-off-by: Robert P. J. Day <[email protected]>

---

diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
index fbdd731..cc9b594 100644
--- a/drivers/infiniband/core/cma.c
+++ b/drivers/infiniband/core/cma.c
@@ -2083,7 +2083,7 @@ static int cma_get_port(struct rdma_id_private *id_priv)
static int cma_check_linklocal(struct rdma_dev_addr *dev_addr,
struct sockaddr *addr)
{
-#if defined(CONFIG_IPv6) || defined(CONFIG_IPV6_MODULE)
+#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
struct sockaddr_in6 *sin6;

if (addr->sa_family != AF_INET6)

rday
--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================


2010-01-06 21:16:10

by Roland Dreier

[permalink] [raw]
Subject: Re: [PATCH] INFINIBAND: Correct CONFIG_IPv6 to CONFIG_IPV6.

Thanks, applied.

I think I added this error in the first place as part of the

[ Fix up cma_check_linklocal() for !IPV6 case. - Roland ]

"work" I did on the original commit d14714df.

- R.