All of lore.kernel.org
 help / color / mirror / Atom feed
* Compilation error on freshly pulled net-next?
@ 2014-09-05 21:47 Rick Jones
  2014-09-05 22:09 ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Rick Jones @ 2014-09-05 21:47 UTC (permalink / raw)
  To: netdev, davem

I was going to do some additional "floor sweeping" and put 
dev_consume_skb_any() into another driver or two, so I did a fresh pull 
of net-next and a make and got:

   CC      net/core/rtnetlink.o
net/core/rtnetlink.c: In function ‘if_nlmsg_size’:
net/core/rtnetlink.c:868:84: error: expected ‘;’ before ‘J’
net/core/rtnetlink.c: At top level:
net/core/rtnetlink.c:420:15: warning: ‘rtnl_link_get_size’ defined but 
not used [-Wunused-function]
net/core/rtnetlink.c:497:15: warning: ‘rtnl_link_get_af_size’ defined 
but not used [-Wunused-function]


Looks like someone slipped a J in there and confused things:

                + rtnl_port_size(dev, ext_filter_mask) /* IFLA_VF_PORTS 
+ IFLA_PORT_SELF */J            + rtnl_link_get_size(dev) /* 
IFLA_LINKINFO */
                + rtnl_link_get_af_size(dev) /* IFLA_AF_SPEC */

(hopefully my mail client won't have mangled things too badly)

What is odd though is a git diff after I've replaced that 'J' with a 
return isn't giving me any output.

rick jones

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compilation error on freshly pulled net-next?
  2014-09-05 21:47 Compilation error on freshly pulled net-next? Rick Jones
@ 2014-09-05 22:09 ` David Miller
  2014-09-05 22:19   ` Rick Jones
  2014-09-05 22:21   ` Rustad, Mark D
  0 siblings, 2 replies; 4+ messages in thread
From: David Miller @ 2014-09-05 22:09 UTC (permalink / raw)
  To: rick.jones2; +Cc: netdev

From: Rick Jones <rick.jones2@hp.com>
Date: Fri, 05 Sep 2014 14:47:43 -0700

> Looks like someone slipped a J in there and confused things:
> 
>                + rtnl_port_size(dev, ext_filter_mask) /* IFLA_VF_PORTS +
>                IFLA_PORT_SELF */J + rtnl_link_get_size(dev) /* IFLA_LINKINFO */
>                + rtnl_link_get_af_size(dev) /* IFLA_AF_SPEC */
> 
> (hopefully my mail client won't have mangled things too badly)
> 
> What is odd though is a git diff after I've replaced that 'J' with a
> return isn't giving me any output.

That doesn't exist in my tree.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compilation error on freshly pulled net-next?
  2014-09-05 22:09 ` David Miller
@ 2014-09-05 22:19   ` Rick Jones
  2014-09-05 22:21   ` Rustad, Mark D
  1 sibling, 0 replies; 4+ messages in thread
From: Rick Jones @ 2014-09-05 22:19 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

On 09/05/2014 03:09 PM, David Miller wrote:
> From: Rick Jones <rick.jones2@hp.com>
> Date: Fri, 05 Sep 2014 14:47:43 -0700
>
>> Looks like someone slipped a J in there and confused things:
>>
>>                 + rtnl_port_size(dev, ext_filter_mask) /* IFLA_VF_PORTS +
>>                 IFLA_PORT_SELF */J + rtnl_link_get_size(dev) /* IFLA_LINKINFO */
>>                 + rtnl_link_get_af_size(dev) /* IFLA_AF_SPEC */
>>
>> (hopefully my mail client won't have mangled things too badly)
>>
>> What is odd though is a git diff after I've replaced that 'J' with a
>> return isn't giving me any output.
>
> That doesn't exist in my tree.

That's good.  Must have been some sort of glitch at my end, but what it 
could have been I've no clue.  I guess I'll just chalk it up to gremlins 
and see about doing a little light floor sweeping then.

rick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compilation error on freshly pulled net-next?
  2014-09-05 22:09 ` David Miller
  2014-09-05 22:19   ` Rick Jones
@ 2014-09-05 22:21   ` Rustad, Mark D
  1 sibling, 0 replies; 4+ messages in thread
From: Rustad, Mark D @ 2014-09-05 22:21 UTC (permalink / raw)
  To: David Miller; +Cc: rick.jones2, netdev

[-- Attachment #1: Type: text/plain, Size: 870 bytes --]

On Sep 5, 2014, at 3:09 PM, David Miller <davem@davemloft.net> wrote:

> From: Rick Jones <rick.jones2@hp.com>
> Date: Fri, 05 Sep 2014 14:47:43 -0700
> 
>> Looks like someone slipped a J in there and confused things:
>> 
>>               + rtnl_port_size(dev, ext_filter_mask) /* IFLA_VF_PORTS +
>>               IFLA_PORT_SELF */J + rtnl_link_get_size(dev) /* IFLA_LINKINFO */
>>               + rtnl_link_get_af_size(dev) /* IFLA_AF_SPEC */
>> 
>> (hopefully my mail client won't have mangled things too badly)
>> 
>> What is odd though is a git diff after I've replaced that 'J' with a
>> return isn't giving me any output.
> 
> That doesn't exist in my tree.

Looks like data corruption to me. There is a one-bit difference between line-feed and J. Oh for more ECC-capable systems...

-- 
Mark Rustad, Networking Division, Intel Corporation


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 841 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-05 22:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-05 21:47 Compilation error on freshly pulled net-next? Rick Jones
2014-09-05 22:09 ` David Miller
2014-09-05 22:19   ` Rick Jones
2014-09-05 22:21   ` Rustad, Mark D

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.