Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1287876

Re: [PATCH 3/4] usb: host: ehci.h: remove duplicated return

Path csiph.com!news.mixmin.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-2.dfn.de!news.dfn.de!storethat.news.telefonica.de!telefonica.de!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/4] usb: host: ehci.h: remove duplicated return
Date Wed, 09 Dec 2015 22:30:02 +0100
Message-ID <qDUtc-5ih-9@gated-at.bofh.it> (permalink)
References <qDT47-4g8-31@gated-at.bofh.it>
X-Original-To "Geyslan G. Bem" <geyslan@gmail.com>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.20,405,1444719600"; d="gz'50?scan'50,208,50";a="10508949"
MIME-Version 1.0
Content-Type multipart/mixed; boundary="UugvWAfsgieZRqgk"
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
X-Sa-Exim-Connect-IP <locally generated>
X-Sa-Exim-Mail-From fengguang.wu@intel.com
X-Sa-Exim-Scanned No (on bee); SAEximRunCond expanded to false
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 485
Organization linux.* mail to news gateway
X-Original-Cc kbuild-all@01.org, peter.senna@gmail.com, "Geyslan G. Bem" <geyslan@gmail.com>, Alan Stern <stern@rowland.harvard.edu>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Thu, 10 Dec 2015 05:24:12 +0800
X-Original-Message-ID <201512100543.88aNx6Km%fengguang.wu@intel.com>
X-Original-References <1449691056-32238-3-git-send-email-geyslan@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1287876

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Geyslan,

[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v4.4-rc4 next-20151209]

url:    https://github.com/0day-ci/linux/commits/Geyslan-G-Bem/usb-host-ehci-h-cleanup-header-file/20151210-040115
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: x86_64-randconfig-s0-12100345 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from drivers/usb/chipidea/host.c:29:0:
   drivers/usb/chipidea/../host/ehci.h: In function 'ehci_port_speed':
>> drivers/usb/chipidea/../host/ehci.h:668:3: error: label at end of compound statement
      default:
      ^

vim +668 drivers/usb/chipidea/../host/ehci.h

^1da177e Linus Torvalds 2005-04-16  662  		case 0:
^1da177e Linus Torvalds 2005-04-16  663  			return 0;
^1da177e Linus Torvalds 2005-04-16  664  		case 1:
288ead45 Alan Stern     2010-03-04  665  			return USB_PORT_STAT_LOW_SPEED;
^1da177e Linus Torvalds 2005-04-16  666  		case 2:
50691528 Geyslan G. Bem 2015-12-09  667  		/* fall through to default function return */
^1da177e Linus Torvalds 2005-04-16 @668  		default:
^1da177e Linus Torvalds 2005-04-16  669  		}
^1da177e Linus Torvalds 2005-04-16  670  	}
288ead45 Alan Stern     2010-03-04  671  	return USB_PORT_STAT_HIGH_SPEED;

:::::: The code at line 668 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/4] usb: host: ehci.h: cleanup header file "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-09 21:00 +0100
  [PATCH 3/4] usb: host: ehci.h: remove duplicated return "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-09 21:00 +0100
    Re: [PATCH 3/4] usb: host: ehci.h: remove duplicated return Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-12-09 21:20 +0100
      Re: [PATCH 3/4] usb: host: ehci.h: remove duplicated return "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-09 21:20 +0100
        Re: [PATCH 3/4] usb: host: ehci.h: remove duplicated return Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-09 21:30 +0100
        Re: [PATCH 3/4] usb: host: ehci.h: remove duplicated return Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-12-09 21:30 +0100
    Re: [PATCH 3/4] usb: host: ehci.h: remove duplicated return kbuild test robot <lkp@intel.com> - 2015-12-09 22:10 +0100
    Re: [PATCH 3/4] usb: host: ehci.h: remove duplicated return kbuild test robot <lkp@intel.com> - 2015-12-09 22:30 +0100
      Re: [PATCH 3/4] usb: host: ehci.h: remove duplicated return "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-09 22:50 +0100
  [PATCH 2/4] usb: host: ehci.h: cleanup header file "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-09 21:00 +0100
    Re: [PATCH 2/4] usb: host: ehci.h: cleanup header file "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-09 21:20 +0100
    Re: [PATCH 2/4] usb: host: ehci.h: cleanup header file Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2015-12-09 21:20 +0100
  [PATCH 4/4] usb: host: ehci.h: use flexible array instead of zero-length array "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-09 21:00 +0100
  Re: [PATCH 1/4] usb: host: ehci.h: cleanup header file Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-12-09 21:10 +0100
    Re: [PATCH 1/4] usb: host: ehci.h: cleanup header file "Geyslan G. Bem" <geyslan@gmail.com> - 2015-12-09 22:10 +0100

csiph-web