Messages in this thread |  | | From | Long Li <> | Subject | RE: linux-next: build warning after merge of the scsi tree | Date | Wed, 18 Apr 2018 21:52:32 +0000 |
| |
> Subject: linux-next: build warning after merge of the scsi tree > > Hi James, > > After merging the scsi tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/scsi/storvsc_drv.c: In function 'storvsc_do_io': > drivers/scsi/storvsc_drv.c:1402:1: warning: the frame size of 2216 bytes is > larger than 2048 bytes [-Wframe-larger-than=] } ^ > > Introduced by commit > > 0b9bc24b8304 ("csi: storvsc: Select channel based on available percentage of > ring buffer to write")
Thanks for catching this. This is due to the size of struct cpumask is too big, when CONFIG_NR_CPUS=8192 is used in most kernel config.
I will fix this by moving those data structure to kmalloc pre-allocated when channel is first created.
> > -- > Cheers, > Stephen Rothwell
|  |