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


Groups > linux.kernel > #1202641 > unrolled thread

[PATCH 1/2] usb: gadget: goku_udc: fix build break by adding missing 'break'

Started byRobert Baldyga <r.baldyga@samsung.com>
First post2015-08-07 14:20 +0200
Last post2015-08-07 14:30 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/2] usb: gadget: goku_udc: fix build break by adding missing  'break' Robert Baldyga <r.baldyga@samsung.com> - 2015-08-07 14:20 +0200
    Re: [PATCH 1/2] usb: gadget: goku_udc: fix build break by adding  missing 'break' Robert Baldyga <r.baldyga@samsung.com> - 2015-08-07 14:30 +0200

#1202641 — [PATCH 1/2] usb: gadget: goku_udc: fix build break by adding missing 'break'

FromRobert Baldyga <r.baldyga@samsung.com>
Date2015-08-07 14:20 +0200
Subject[PATCH 1/2] usb: gadget: goku_udc: fix build break by adding missing 'break'
Message-ID<pUOMV-7B6-1@gated-at.bofh.it>
Add missing break after 'default' label to fix compilation error.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
---
 drivers/usb/gadget/udc/goku_udc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/gadget/udc/goku_udc.c b/drivers/usb/gadget/udc/goku_udc.c
index 2b628b3..dbb51a4 100644
--- a/drivers/usb/gadget/udc/goku_udc.c
+++ b/drivers/usb/gadget/udc/goku_udc.c
@@ -1013,6 +1013,7 @@ static struct usb_ep *goku_match_ep(struct usb_gadget *g,
 		}
 		break;
 	default:
+		break;
 	}
 
 	return NULL;
-- 
1.9.1

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

[toc] | [next] | [standalone]


#1202643 — Re: [PATCH 1/2] usb: gadget: goku_udc: fix build break by adding missing 'break'

FromRobert Baldyga <r.baldyga@samsung.com>
Date2015-08-07 14:30 +0200
SubjectRe: [PATCH 1/2] usb: gadget: goku_udc: fix build break by adding missing 'break'
Message-ID<pUOWC-7Ms-13@gated-at.bofh.it>
In reply to#1202641
Hi Felipe,

I see that you already fixed this in your tree. So only the second patch
is needed.

Thanks,
Robert

On 08/07/2015 02:13 PM, Robert Baldyga wrote:
> Add missing break after 'default' label to fix compilation error.
> 
> Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
> ---
>  drivers/usb/gadget/udc/goku_udc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/gadget/udc/goku_udc.c b/drivers/usb/gadget/udc/goku_udc.c
> index 2b628b3..dbb51a4 100644
> --- a/drivers/usb/gadget/udc/goku_udc.c
> +++ b/drivers/usb/gadget/udc/goku_udc.c
> @@ -1013,6 +1013,7 @@ static struct usb_ep *goku_match_ep(struct usb_gadget *g,
>  		}
>  		break;
>  	default:
> +		break;
>  	}
>  
>  	return NULL;
> 

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web