Re: [PATCH] soc/tegra: pmc: Don't allocate struct tegra_powergate on stack

2017-04-24 Thread Jon Hunter
On 17/04/17 06:50, Viresh Kumar wrote: > On 21-03-17, 16:09, Viresh Kumar wrote: >> On 21-03-17, 10:37, Jon Hunter wrote: >>> >>> On 21/03/17 05:24, Viresh Kumar wrote: The size of the struct tegra_powergate is quite big and if any more fields are added to the internal genpd structure,

Re: [PATCH] soc/tegra: pmc: Don't allocate struct tegra_powergate on stack

2017-04-24 Thread Jon Hunter
On 17/04/17 06:50, Viresh Kumar wrote: > On 21-03-17, 16:09, Viresh Kumar wrote: >> On 21-03-17, 10:37, Jon Hunter wrote: >>> >>> On 21/03/17 05:24, Viresh Kumar wrote: The size of the struct tegra_powergate is quite big and if any more fields are added to the internal genpd structure,

Re: [PATCH] soc/tegra: pmc: Don't allocate struct tegra_powergate on stack

2017-04-16 Thread Viresh Kumar
On 21-03-17, 16:09, Viresh Kumar wrote: > On 21-03-17, 10:37, Jon Hunter wrote: > > > > On 21/03/17 05:24, Viresh Kumar wrote: > > > The size of the struct tegra_powergate is quite big and if any more > > > fields are added to the internal genpd structure, following warnings are > > > thrown: > >

Re: [PATCH] soc/tegra: pmc: Don't allocate struct tegra_powergate on stack

2017-04-16 Thread Viresh Kumar
On 21-03-17, 16:09, Viresh Kumar wrote: > On 21-03-17, 10:37, Jon Hunter wrote: > > > > On 21/03/17 05:24, Viresh Kumar wrote: > > > The size of the struct tegra_powergate is quite big and if any more > > > fields are added to the internal genpd structure, following warnings are > > > thrown: > >

Re: [PATCH] soc/tegra: pmc: Don't allocate struct tegra_powergate on stack

2017-03-21 Thread Viresh Kumar
On 21-03-17, 10:37, Jon Hunter wrote: > > On 21/03/17 05:24, Viresh Kumar wrote: > > The size of the struct tegra_powergate is quite big and if any more > > fields are added to the internal genpd structure, following warnings are > > thrown: > > > > drivers/soc/tegra/pmc.c:577:1: warning: the

Re: [PATCH] soc/tegra: pmc: Don't allocate struct tegra_powergate on stack

2017-03-21 Thread Viresh Kumar
On 21-03-17, 10:37, Jon Hunter wrote: > > On 21/03/17 05:24, Viresh Kumar wrote: > > The size of the struct tegra_powergate is quite big and if any more > > fields are added to the internal genpd structure, following warnings are > > thrown: > > > > drivers/soc/tegra/pmc.c:577:1: warning: the

Re: [PATCH] soc/tegra: pmc: Don't allocate struct tegra_powergate on stack

2017-03-21 Thread Jon Hunter
On 21/03/17 05:24, Viresh Kumar wrote: > The size of the struct tegra_powergate is quite big and if any more > fields are added to the internal genpd structure, following warnings are > thrown: > > drivers/soc/tegra/pmc.c:577:1: warning: the frame size of 1176 bytes is > larger than 1024 bytes

Re: [PATCH] soc/tegra: pmc: Don't allocate struct tegra_powergate on stack

2017-03-21 Thread Jon Hunter
On 21/03/17 05:24, Viresh Kumar wrote: > The size of the struct tegra_powergate is quite big and if any more > fields are added to the internal genpd structure, following warnings are > thrown: > > drivers/soc/tegra/pmc.c:577:1: warning: the frame size of 1176 bytes is > larger than 1024 bytes

[PATCH] soc/tegra: pmc: Don't allocate struct tegra_powergate on stack

2017-03-20 Thread Viresh Kumar
The size of the struct tegra_powergate is quite big and if any more fields are added to the internal genpd structure, following warnings are thrown: drivers/soc/tegra/pmc.c:577:1: warning: the frame size of 1176 bytes is larger than 1024 bytes [-Wframe-larger-than=] Avoid such warnings by

[PATCH] soc/tegra: pmc: Don't allocate struct tegra_powergate on stack

2017-03-20 Thread Viresh Kumar
The size of the struct tegra_powergate is quite big and if any more fields are added to the internal genpd structure, following warnings are thrown: drivers/soc/tegra/pmc.c:577:1: warning: the frame size of 1176 bytes is larger than 1024 bytes [-Wframe-larger-than=] Avoid such warnings by