diff options
| author | Ming Lei <[email protected]> | 2013-04-10 16:12:56 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-04-10 16:36:06 +0000 |
| commit | d81c8d19da8fb6514c75d5c19334f4236856c561 (patch) | |
| tree | 15d34649c7d603af6407b8e9812be0c549727b41 /drivers/usb/core/usb.c | |
| parent | devtmpfs: add base.h include (diff) | |
| download | kernel-d81c8d19da8fb6514c75d5c19334f4236856c561.tar.gz kernel-d81c8d19da8fb6514c75d5c19334f4236856c561.zip | |
driver core: devtmpfs: fix compile failure with CONFIG_UIDGID_STRICT_TYPE_CHECKS
If CONFIG_UIDGID_STRICT_TYPE_CHECKS is enalbed, the below compile
failure will be triggered:
drivers/base/devtmpfs.c: In function 'handle_create':
drivers/base/devtmpfs.c:214:19: error: incompatible types when assigning to type 'kuid_t' from type 'uid_t'
drivers/base/devtmpfs.c:215:19: error: incompatible types when assigning to type 'kgid_t' from type 'gid_t'
make[2]: *** [drivers/base/devtmpfs.o] Error 1
This patch fixes the compile failure.
Signed-off-by: Ming Lei <[email protected]>
Cc: Kay Sievers <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/usb.c')
0 files changed, 0 insertions, 0 deletions
