add check to cpumask_of()
authorJan Beulich <jbeulich@suse.com>
Tue, 23 Jan 2018 09:44:43 +0000 (10:44 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 23 Jan 2018 09:44:43 +0000 (10:44 +0100)
commite8bf5addc9aa4730f2c5ed481bf6d40545c8d65b
treeab1053e1ea9be68439b0bb5e0958e91fee8d3d46
parentc64bf2d2a6259bab0ca64e208e6b0f5e4eda75e8
add check to cpumask_of()

Just like any other function's CPU inputs, the one here shouldn't go
unchecked.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/include/xen/cpumask.h