History

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

Two trivial overlapping changes conflicts in MPLS and mlx5.

David S. Miller committed 9 years ago

Commit 4e8f2fc2 parents 158f323 1b1bc42485 files · +4555 −2689Browse files

Showing the changes to include/uapi/linux (3 of 485 files). Show all

Unified · Split

3 files
  1. include/uapi/linux/cec-funcs.h +7 −3
  2. include/uapi/linux/netfilter/nf_log.h +2 −0
  3. include/uapi/linux/netfilter/nf_tables.h +2 −2
include/uapi/linux/cec-funcs.h+7−3
@@ -1665,14 +1665,15 @@ static inline void cec_msg_report_current_latency(struct cec_msg *msg, · 1664 unmodified lines
16651665 __u8 audio_out_compensated,
16661666 __u8 audio_out_delay)
16671667 {
1668− msg->len = 7;
1668+ msg->len = 6;
16691669 msg->msg[0] |= 0xf; /* broadcast */
16701670 msg->msg[1] = CEC_MSG_REPORT_CURRENT_LATENCY;
16711671 msg->msg[2] = phys_addr >> 8;
16721672 msg->msg[3] = phys_addr & 0xff;
16731673 msg->msg[4] = video_latency;
16741674 msg->msg[5] = (low_latency_mode << 2) | audio_out_compensated;
1675− msg->msg[6] = audio_out_delay;
1675+ if (audio_out_compensated == 3)
1676+ msg->msg[msg->len++] = audio_out_delay;
16761677 }
16771678
16781679 static inline void cec_ops_report_current_latency(const struct cec_msg *msg,
@@ -1686,7 +1687,10 @@ static inline void cec_ops_report_current_latency(const struct cec_msg *msg, · 7 unmodified lines
16861687 *video_latency = msg->msg[4];
16871688 *low_latency_mode = (msg->msg[5] >> 2) & 1;
16881689 *audio_out_compensated = msg->msg[5] & 3;
1689− *audio_out_delay = msg->msg[6];
1690+ if (*audio_out_compensated == 3 && msg->len >= 7)
1691+ *audio_out_delay = msg->msg[6];
1692+ else
1693+ *audio_out_delay = 0;
16901694 }
16911695
16921696 static inline void cec_msg_request_current_latency(struct cec_msg *msg,
include/uapi/linux/netfilter/nf_log.h+2−0
@@ -9,4 +9,6 @@ · 8 unmodified lines
99 #define NF_LOG_MACDECODE 0x20 /* Decode MAC header */
1010 #define NF_LOG_MASK 0x2f
1111
12+#define NF_LOG_PREFIXLEN 128
13+
1214 #endif /* _NETFILTER_NF_LOG_H */
include/uapi/linux/netfilter/nf_tables.h+2−2
@@ -235,7 +235,7 @@ enum nft_rule_compat_flags { · 234 unmodified lines
235235 /**
236236 * enum nft_rule_compat_attributes - nf_tables rule compat attributes
237237 *
238− * @NFTA_RULE_COMPAT_PROTO: numerice value of handled protocol (NLA_U32)
238+ * @NFTA_RULE_COMPAT_PROTO: numeric value of handled protocol (NLA_U32)
239239 * @NFTA_RULE_COMPAT_FLAGS: bitmask of enum nft_rule_compat_flags (NLA_U32)
240240 */
241241 enum nft_rule_compat_attributes {
@@ -499,7 +499,7 @@ enum nft_bitwise_attributes { · 257 unmodified lines
499499 * enum nft_byteorder_ops - nf_tables byteorder operators
500500 *
501501 * @NFT_BYTEORDER_NTOH: network to host operator
502− * @NFT_BYTEORDER_HTON: host to network opertaor
502+ * @NFT_BYTEORDER_HTON: host to network operator
503503 */
504504 enum nft_byteorder_ops {
505505 NFT_BYTEORDER_NTOH,