Bring in -rc4 patches so I can successfully merge the sound doc changes.
Showing the changes to include/uapi/linux (4 of 993 files). Show all
Unified · Split
| @@ -75,6 +75,7 @@ header-y += bpf_perf_event.h · 74 unmodified lines | ||
| 75 | 75 | header-y += bpf.h |
| 76 | 76 | header-y += bpqether.h |
| 77 | 77 | header-y += bsg.h |
| 78 | +header-y += bt-bmc.h | |
| 78 | 79 | header-y += btrfs.h |
| 79 | 80 | header-y += can.h |
| 80 | 81 | header-y += capability.h |
| @@ -0,0 +1,18 @@ | ||
| 1 | +/* | |
| 2 | + * Copyright (c) 2015-2016, IBM Corporation. | |
| 3 | + * | |
| 4 | + * This program is free software; you can redistribute it and/or | |
| 5 | + * modify it under the terms of the GNU General Public License | |
| 6 | + * as published by the Free Software Foundation; either version | |
| 7 | + * 2 of the License, or (at your option) any later version. | |
| 8 | + */ | |
| 9 | + | |
| 10 | +#ifndef _UAPI_LINUX_BT_BMC_H | |
| 11 | +#define _UAPI_LINUX_BT_BMC_H | |
| 12 | + | |
| 13 | +#include <linux/ioctl.h> | |
| 14 | + | |
| 15 | +#define __BT_BMC_IOCTL_MAGIC 0xb1 | |
| 16 | +#define BT_BMC_IOCTL_SMS_ATN _IO(__BT_BMC_IOCTL_MAGIC, 0x00) | |
| 17 | + | |
| 18 | +#endif /* _UAPI_LINUX_BT_BMC_H */ | |
| @@ -119,8 +119,7 @@ struct ethtool_cmd { · 118 unmodified lines | ||
| 119 | 119 | static inline void ethtool_cmd_speed_set(struct ethtool_cmd *ep, |
| 120 | 120 | __u32 speed) |
| 121 | 121 | { |
| 122 | − | |
| 123 | − ep->speed = (__u16)speed; | |
| 122 | + ep->speed = (__u16)(speed & 0xFFFF); | |
| 124 | 123 | ep->speed_hi = (__u16)(speed >> 16); |
| 125 | 124 | } |
| 126 | 125 | |
| @@ -350,7 +350,7 @@ struct rtnexthop { · 349 unmodified lines | ||
| 350 | 350 | #define RTNH_F_OFFLOAD 8 /* offloaded route */ |
| 351 | 351 | #define RTNH_F_LINKDOWN 16 /* carrier-down on nexthop */ |
| 352 | 352 | |
| 353 | −#define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN) | |
| 353 | +#define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN | RTNH_F_OFFLOAD) | |
| 354 | 354 | |
| 355 | 355 | /* Macros to handle hexthops */ |
| 356 | 356 | |