]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mlx5: Add include of <linux/slab.h> because of kzalloc()/kfree() use
authorRoland Dreier <roland@purestorage.com>
Fri, 14 Feb 2014 04:45:17 +0000 (20:45 -0800)
committerRoland Dreier <roland@purestorage.com>
Fri, 14 Feb 2014 04:48:02 +0000 (20:48 -0800)
commit6ecde51dd7894ffe2f959cca1fea3ea2b9ee2394
treeb7dc953b338e86f165e85b161f1f70caf17b8cfa
parent1a4c3a3dc5fdeef2a7bdf4ac7d81df58c3c0a51e
mlx5: Add include of <linux/slab.h> because of kzalloc()/kfree() use

On some architectures (for example, arm), we don't end up indirectly
pulling in the declaration of kzalloc() and kfree(), and so building
anything that includes <linux/mlx5/driver.h> breaks.  Fix this by adding
an explicit include to get the declaration.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
include/linux/mlx5/driver.h