Re: [PATCH] optee: simplify i2c access

2021-02-08 Thread Jens Wiklander
On Mon, Feb 8, 2021 at 9:32 AM Jorge Ramirez-Ortiz, Foundries wrote: > > On 08/02/21, Jorge Ramirez-Ortiz, Foundries wrote: > > On 08/02/21, Jens Wiklander wrote: > > > Hi Jorge, > > > > > > On Wed, Jan 27, 2021 at 11:41 AM Jens Wiklander > > > wrote: > > > > > > > > Hi Arnd, > > > > > > > > On

Re: [PATCH] optee: simplify i2c access

2021-02-08 Thread Jorge Ramirez-Ortiz, Foundries
On 08/02/21, Jorge Ramirez-Ortiz, Foundries wrote: > On 08/02/21, Jens Wiklander wrote: > > Hi Jorge, > > > > On Wed, Jan 27, 2021 at 11:41 AM Jens Wiklander > > wrote: > > > > > > Hi Arnd, > > > > > > On Mon, Jan 25, 2021 at 12:38 PM Arnd Bergmann wrote: > > > > > > > > From: Arnd Bergmann >

Re: [PATCH] optee: simplify i2c access

2021-02-07 Thread Jorge Ramirez-Ortiz, Foundries
On 08/02/21, Jens Wiklander wrote: > Hi Jorge, > > On Wed, Jan 27, 2021 at 11:41 AM Jens Wiklander > wrote: > > > > Hi Arnd, > > > > On Mon, Jan 25, 2021 at 12:38 PM Arnd Bergmann wrote: > > > > > > From: Arnd Bergmann > > > > > > Storing a bogus i2c_client structure on the stack adds overhead

Re: [PATCH] optee: simplify i2c access

2021-02-07 Thread Jens Wiklander
Hi Jorge, On Wed, Jan 27, 2021 at 11:41 AM Jens Wiklander wrote: > > Hi Arnd, > > On Mon, Jan 25, 2021 at 12:38 PM Arnd Bergmann wrote: > > > > From: Arnd Bergmann > > > > Storing a bogus i2c_client structure on the stack adds overhead and > > causes a compile-time warning: > > > >

Re: [PATCH] optee: simplify i2c access

2021-01-27 Thread Jens Wiklander
Hi Arnd, On Mon, Jan 25, 2021 at 12:38 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > Storing a bogus i2c_client structure on the stack adds overhead and > causes a compile-time warning: > > drivers/tee/optee/rpc.c:493:6: error: stack frame size of 1056 bytes in > function

Re: [PATCH] optee: simplify i2c access

2021-01-26 Thread Jorge Ramirez-Ortiz, Foundries
On 25/01/21, Arnd Bergmann wrote: > From: Arnd Bergmann > > Storing a bogus i2c_client structure on the stack adds overhead and > causes a compile-time warning: > > drivers/tee/optee/rpc.c:493:6: error: stack frame size of 1056 bytes in > function 'optee_handle_rpc'

Re: [PATCH] optee: simplify i2c access

2021-01-26 Thread Arnd Bergmann
On Tue, Jan 26, 2021 at 12:50 PM Jorge Ramirez-Ortiz, Foundries wrote: > On 26/01/21, Arnd Bergmann wrote: > > On Tue, Jan 26, 2021 at 9:08 AM Jorge Ramirez-Ortiz, Foundries > > > > The fixes tag only describes which commit introduced the bug, it is > > irrelevant > > what type of bug this is. >

Re: [PATCH] optee: simplify i2c access

2021-01-26 Thread Jorge Ramirez-Ortiz, Foundries
On 26/01/21, Arnd Bergmann wrote: > On Tue, Jan 26, 2021 at 9:08 AM Jorge Ramirez-Ortiz, Foundries > wrote: > > > > On 25/01/21, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > Storing a bogus i2c_client structure on the stack adds overhead and > > > causes a compile-time warning: > >

Re: [PATCH] optee: simplify i2c access

2021-01-26 Thread Arnd Bergmann
On Tue, Jan 26, 2021 at 9:08 AM Jorge Ramirez-Ortiz, Foundries wrote: > > On 25/01/21, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > Storing a bogus i2c_client structure on the stack adds overhead and > > causes a compile-time warning: > > > > drivers/tee/optee/rpc.c:493:6: error: stack

[PATCH] optee: simplify i2c access

2021-01-25 Thread Arnd Bergmann
From: Arnd Bergmann Storing a bogus i2c_client structure on the stack adds overhead and causes a compile-time warning: drivers/tee/optee/rpc.c:493:6: error: stack frame size of 1056 bytes in function 'optee_handle_rpc' [-Werror,-Wframe-larger-than=] void optee_handle_rpc(struct tee_context