All of lore.kernel.org
 help / color / mirror / Atom feed
* [mkl-can-next:echo-queue 1/1] drivers/net/can/dev.c:476:3: error: expected '}' before 'else'
@ 2017-03-03 15:25 kbuild test robot
  2017-03-03 15:31 ` Marc Kleine-Budde
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-03-03 15:25 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: kbuild-all, linux-can

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git echo-queue
head:   bf93005265bf23ccc01dd26e384301bddae6208e
commit: bf93005265bf23ccc01dd26e384301bddae6208e [1/1] wip
config: x86_64-randconfig-x016-201709 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout bf93005265bf23ccc01dd26e384301bddae6208e
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/net/can/dev.c: In function 'can_get_echo_skb':
>> drivers/net/can/dev.c:476:3: error: expected '}' before 'else'
      else
      ^~~~

vim +476 drivers/net/can/dev.c

   470			u8 dlc = cf->can_dlc;
   471	
   472			/* check flag whether this packet has to be looped back */
   473			if (!(dev->flags & IFF_ECHO) ||
   474			    skb->pkt_type != PACKET_LOOPBACK ) {
   475				kfree_skb(skb);
 > 476			else
   477				netif_rx(priv->echo_skb[idx]);
   478	
   479			priv->echo_skb[idx] = NULL;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28044 bytes --]

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

* Re: [mkl-can-next:echo-queue 1/1] drivers/net/can/dev.c:476:3: error: expected '}' before 'else'
  2017-03-03 15:25 [mkl-can-next:echo-queue 1/1] drivers/net/can/dev.c:476:3: error: expected '}' before 'else' kbuild test robot
@ 2017-03-03 15:31 ` Marc Kleine-Budde
  0 siblings, 0 replies; 2+ messages in thread
From: Marc Kleine-Budde @ 2017-03-03 15:31 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-can


[-- Attachment #1.1: Type: text/plain, Size: 1103 bytes --]

On 03/03/2017 04:25 PM, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git echo-queue
> head:   bf93005265bf23ccc01dd26e384301bddae6208e
> commit: bf93005265bf23ccc01dd26e384301bddae6208e [1/1] wip
> config: x86_64-randconfig-x016-201709 (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         git checkout bf93005265bf23ccc01dd26e384301bddae6208e
>         # save the attached .config to linux build tree
>         make ARCH=x86_64 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/net/can/dev.c: In function 'can_get_echo_skb':
>>> drivers/net/can/dev.c:476:3: error: expected '}' before 'else'
>       else
>       ^~~~

It's a work-in-progress branch. Please ignore - sorry for the noise :D

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2017-03-03 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-03 15:25 [mkl-can-next:echo-queue 1/1] drivers/net/can/dev.c:476:3: error: expected '}' before 'else' kbuild test robot
2017-03-03 15:31 ` Marc Kleine-Budde

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.