]> git.baikalelectronics.ru Git - kernel.git/commit
cpumask: convert drivers/net/sfc
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 11 Jan 2009 05:58:09 +0000 (21:58 -0800)
committerIngo Molnar <mingo@elte.hu>
Sun, 11 Jan 2009 18:12:56 +0000 (19:12 +0100)
commit49d1eaea6694873cdaa9b2b89f2309cffc508d7a
tree4f8931e89e5a5fae2b778ca0e879e2f66ba07935
parent887a831824bcd5ecb290db5619631cbf10309b73
cpumask: convert drivers/net/sfc

Impact: reduce stack usage, use new cpumask API.

Remove a cpumask from the stack.  Ben Hutchings indicated that printing
a warning and returning 1 was acceptable for the corner case where allocation
fails.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Cc: linux-net-drivers@solarflare.com
drivers/net/sfc/efx.c