Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1573233
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] [net-next] hns_enet: use cpumask_var_t for on-stack mask |
| Date | 2017-02-03 17:20 +0100 |
| Message-ID | <t6OKB-40r-9@gated-at.bofh.it> (permalink) |
| References | <t6r1D-5lK-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Arnd Bergmann <arnd@arndb.de> Date: Thu, 2 Feb 2017 15:49:24 +0100 > On large SMP builds, we can run into a build warning: > > drivers/net/ethernet/hisilicon/hns/hns_enet.c: In function 'hns_set_irq_affinity.isra.27': > drivers/net/ethernet/hisilicon/hns/hns_enet.c:1242:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=] > > The solution here is to use cpumask_var_t, which can use dynamic > allocation when CONFIG_CPUMASK_OFFSTACK is enabled. > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> Applied, thanks Arnd.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] [net-next] hns_enet: use cpumask_var_t for on-stack mask Arnd Bergmann <arnd@arndb.de> - 2017-02-02 16:00 +0100 Re: [PATCH] [net-next] hns_enet: use cpumask_var_t for on-stack mask David Miller <davem@davemloft.net> - 2017-02-03 17:20 +0100
csiph-web