public inbox for op-tee@lists.trustedfirmware.org
 help / color / mirror / Atom feed
* [PATCH 061/141] tee: Fix fall-through warnings for Clang
  2020-11-20 18:21 [PATCH 000/141] " Gustavo A. R. Silva
@ 2020-11-20 18:33 ` Gustavo A. R. Silva
  0 siblings, 0 replies; 5+ messages in thread
From: Gustavo A. R. Silva @ 2020-11-20 18:33 UTC (permalink / raw)
  To: op-tee

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

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
---
 drivers/tee/tee_core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/tee/tee_core.c b/drivers/tee/tee_core.c
index 6ade4a5c4840..5fdf26688230 100644
--- a/drivers/tee/tee_core.c
+++ b/drivers/tee/tee_core.c
@@ -452,6 +452,7 @@ static int params_to_user(struct tee_ioctl_param __user *uparams,
 		case TEE_IOCTL_PARAM_ATTR_TYPE_MEMREF_INOUT:
 			if (put_user((u64)p->u.memref.size, &up->b))
 				return -EFAULT;
+			break;
 		default:
 			break;
 		}
-- 
2.27.0


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

* Re: [PATCH 061/141] tee: Fix fall-through warnings for Clang
       [not found] <=?utf-8?q?=3Cc505109fe0c02f648e16caa83d8a9773afd696b1=2E1605896?= =?utf-8?q?059=2Egit=2Egustavoars=40kernel=2Eorg=3E?=>
@ 2020-11-22  9:26 ` Jens Wiklander
  0 siblings, 0 replies; 5+ messages in thread
From: Jens Wiklander @ 2020-11-22  9:26 UTC (permalink / raw)
  To: op-tee

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

On Fri, Nov 20, 2020 at 7:33 PM Gustavo A. R. Silva
<gustavoars@kernel.org> wrote:
>
> In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
> by explicitly adding a break statement instead of letting the code fall
> through to the next case.
>
> Link: https://github.com/KSPP/linux/issues/115
> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
> ---
>  drivers/tee/tee_core.c | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

Thanks,
Jens

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

* Re: [PATCH 061/141] tee: Fix fall-through warnings for Clang
       [not found] < <CAHUa44G1B8_CSahTJ1uOUMLcDfpVKHUaoN+u87BywkVwyhjnRw@mail.gmail.com>
@ 2020-11-23 22:55 ` Gustavo A. R. Silva
  2021-04-20 20:20   ` Gustavo A. R. Silva
  0 siblings, 1 reply; 5+ messages in thread
From: Gustavo A. R. Silva @ 2020-11-23 22:55 UTC (permalink / raw)
  To: op-tee

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

On Sun, Nov 22, 2020 at 10:26:09AM +0100, Jens Wiklander wrote:
> On Fri, Nov 20, 2020 at 7:33 PM Gustavo A. R. Silva
> <gustavoars@kernel.org> wrote:
> >
> > In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
> > by explicitly adding a break statement instead of letting the code fall
> > through to the next case.
> >
> > Link: https://github.com/KSPP/linux/issues/115
> > Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
> > ---
> >  drivers/tee/tee_core.c | 1 +
> >  1 file changed, 1 insertion(+)
> 
> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

Thanks, Jens.
--
Gustavo

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

* Re: [PATCH 061/141] tee: Fix fall-through warnings for Clang
  2020-11-23 22:55 ` [PATCH 061/141] tee: Fix fall-through warnings for Clang Gustavo A. R. Silva
@ 2021-04-20 20:20   ` Gustavo A. R. Silva
  2021-05-17 23:43     ` Gustavo A. R. Silva
  0 siblings, 1 reply; 5+ messages in thread
From: Gustavo A. R. Silva @ 2021-04-20 20:20 UTC (permalink / raw)
  To: op-tee

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

Hi all,

Friendly ping: who can take this, please?

Thanks
--
Gustavo

On 11/23/20 16:55, Gustavo A. R. Silva wrote:
> On Sun, Nov 22, 2020 at 10:26:09AM +0100, Jens Wiklander wrote:
>> On Fri, Nov 20, 2020 at 7:33 PM Gustavo A. R. Silva
>> <gustavoars@kernel.org> wrote:
>>>
>>> In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
>>> by explicitly adding a break statement instead of letting the code fall
>>> through to the next case.
>>>
>>> Link: https://github.com/KSPP/linux/issues/115
>>> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
>>> ---
>>>  drivers/tee/tee_core.c | 1 +
>>>  1 file changed, 1 insertion(+)
>>
>> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
> 
> Thanks, Jens.
> --
> Gustavo
> 

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

* Re: [PATCH 061/141] tee: Fix fall-through warnings for Clang
  2021-04-20 20:20   ` Gustavo A. R. Silva
@ 2021-05-17 23:43     ` Gustavo A. R. Silva
  0 siblings, 0 replies; 5+ messages in thread
From: Gustavo A. R. Silva @ 2021-05-17 23:43 UTC (permalink / raw)
  To: op-tee

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

Hi,

On 4/20/21 15:20, Gustavo A. R. Silva wrote:
> Hi all,
> 
> Friendly ping: who can take this, please?
> 
> Thanks
> --
> Gustavo
> 
> On 11/23/20 16:55, Gustavo A. R. Silva wrote:
>> On Sun, Nov 22, 2020 at 10:26:09AM +0100, Jens Wiklander wrote:
>>> On Fri, Nov 20, 2020 at 7:33 PM Gustavo A. R. Silva
>>> <gustavoars@kernel.org> wrote:
>>>>
>>>> In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
>>>> by explicitly adding a break statement instead of letting the code fall
>>>> through to the next case.
>>>>
>>>> Link: https://github.com/KSPP/linux/issues/115
>>>> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
>>>> ---
>>>>  drivers/tee/tee_core.c | 1 +
>>>>  1 file changed, 1 insertion(+)
>>>
>>> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>

I've added this to my -next[1] branch for v5.14.

Thanks
--
Gustavo

[1] https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git/log/?h=for-next/kspp

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

end of thread, other threads:[~2021-05-17 23:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] < <CAHUa44G1B8_CSahTJ1uOUMLcDfpVKHUaoN+u87BywkVwyhjnRw@mail.gmail.com>
2020-11-23 22:55 ` [PATCH 061/141] tee: Fix fall-through warnings for Clang Gustavo A. R. Silva
2021-04-20 20:20   ` Gustavo A. R. Silva
2021-05-17 23:43     ` Gustavo A. R. Silva
     [not found] <=?utf-8?q?=3Cc505109fe0c02f648e16caa83d8a9773afd696b1=2E1605896?= =?utf-8?q?059=2Egit=2Egustavoars=40kernel=2Eorg=3E?=>
2020-11-22  9:26 ` Jens Wiklander
2020-11-20 18:21 [PATCH 000/141] " Gustavo A. R. Silva
2020-11-20 18:33 ` [PATCH 061/141] tee: " Gustavo A. R. Silva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox