Skip to content

Commit 3e60a77

Browse files
rddunlaprolandd
authored andcommitted
IB/ipath: Add missing <linux/stat.h> in ipath_chip_init.c
Fix build errors: drivers/infiniband/hw/ipath/ipath_init_chip.c:54:1: error: 'S_IRUGO' undeclared here (not in a function) drivers/infiniband/hw/ipath/ipath_init_chip.c:54:1: error: bit-field '<anonymous>' width not an integer constant drivers/infiniband/hw/ipath/ipath_init_chip.c:67:1: error: 'S_IWUSR' undeclared here (not in a function) drivers/infiniband/hw/ipath/ipath_init_chip.c:67:1: error: bit-field '<anonymous>' width not an integer constant Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Roland Dreier <roland@purestorage.com>
1 parent 976d167 commit 3e60a77

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/infiniband/hw/ipath/ipath_init_chip.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include <linux/pci.h>
3535
#include <linux/netdevice.h>
3636
#include <linux/slab.h>
37+
#include <linux/stat.h>
3738
#include <linux/vmalloc.h>
3839

3940
#include "ipath_kernel.h"

0 commit comments

Comments
 (0)