History

Merge 5.8-rc7 into usb-next

We want the USB fixes in here as well.

Greg Kroah-Hartman committed 6 years ago

Commit c9779302 parents 9a360a7 92ed301303 files · +3457 −3165Browse files

Showing the changes to include/linux (7 of 303 files). Show all

Unified · Split

7 files
  1. include/linux/device-mapper.h +1 −0
  2. include/linux/efi.h +1 −0
  3. include/linux/i2c.h +1 −1
  4. include/linux/io-mapping.h +4 −1
  5. include/linux/rhashtable.h +1 −1
  6. include/linux/tcp.h +4 −2
  7. include/linux/xattr.h +2 −1
include/linux/device-mapper.h+1−0
@@ -426,6 +426,7 @@ const char *dm_device_name(struct mapped_device *md); · 425 unmodified lines
426426 int dm_copy_name_and_uuid(struct mapped_device *md, char *name, char *uuid);
427427 struct gendisk *dm_disk(struct mapped_device *md);
428428 int dm_suspended(struct dm_target *ti);
429+int dm_post_suspending(struct dm_target *ti);
429430 int dm_noflush_suspending(struct dm_target *ti);
430431 void dm_accept_partial_bio(struct bio *bio, unsigned n_sectors);
431432 union map_info *dm_get_rq_mapinfo(struct request *rq);
include/linux/efi.h+1−0
@@ -994,6 +994,7 @@ int efivars_register(struct efivars *efivars, · 993 unmodified lines
994994 int efivars_unregister(struct efivars *efivars);
995995 struct kobject *efivars_kobject(void);
996996
997+int efivar_supports_writes(void);
997998 int efivar_init(int (*func)(efi_char16_t *, efi_guid_t, unsigned long, void *),
998999 void *data, bool duplicates, struct list_head *head);
9991000
include/linux/i2c.h+1−1
@@ -56,7 +56,7 @@ struct property_entry; · 55 unmodified lines
5656 * on a bus (or read from them). Apart from two basic transfer functions to
5757 * transmit one message at a time, a more complex version can be used to
5858 * transmit an arbitrary number of messages without interruption.
59− * @count must be be less than 64k since msg.len is u16.
59+ * @count must be less than 64k since msg.len is u16.
6060 */
6161 int i2c_transfer_buffer_flags(const struct i2c_client *client,
6262 char *buf, int count, u16 flags);
include/linux/io-mapping.h+4−1
@@ -107,9 +107,12 @@ io_mapping_init_wc(struct io_mapping *iomap, · 106 unmodified lines
107107 resource_size_t base,
108108 unsigned long size)
109109 {
110+ iomap->iomem = ioremap_wc(base, size);
111+ if (!iomap->iomem)
112+ return NULL;
113+
110114 iomap->base = base;
111115 iomap->size = size;
112− iomap->iomem = ioremap_wc(base, size);
113116 #if defined(pgprot_noncached_wc) /* archs can't agree on a name ... */
114117 iomap->prot = pgprot_noncached_wc(PAGE_KERNEL);
115118 #elif defined(pgprot_writecombine)
include/linux/rhashtable.h+1−1
@@ -33,7 +33,7 @@ · 32 unmodified lines
3333 * of two or more hash tables when the rhashtable is being resized.
3434 * The end of the chain is marked with a special nulls marks which has
3535 * the least significant bit set but otherwise stores the address of
36− * the hash bucket. This allows us to be be sure we've found the end
36+ * the hash bucket. This allows us to be sure we've found the end
3737 * of the right list.
3838 * The value stored in the hash bucket has BIT(0) used as a lock bit.
3939 * This bit must be atomically set before any changes are made to
include/linux/tcp.h+4−2
@@ -220,7 +220,9 @@ struct tcp_sock { · 219 unmodified lines
220220 } rack;
221221 u16 advmss; /* Advertised MSS */
222222 u8 compressed_ack;
223− u8 dup_ack_counter;
223+ u8 dup_ack_counter:2,
224+ tlp_retrans:1, /* TLP is a retransmission */
225+ unused:5;
224226 u32 chrono_start; /* Start time in jiffies of a TCP chrono */
225227 u32 chrono_stat[3]; /* Time in jiffies for chrono_stat stats */
226228 u8 chrono_type:2, /* current chronograph type */
@@ -243,7 +245,7 @@ struct tcp_sock { · 16 unmodified lines
243245 save_syn:1, /* Save headers of SYN packet */
244246 is_cwnd_limited:1,/* forward progress limited by snd_cwnd? */
245247 syn_smc:1; /* SYN includes SMC */
246− u32 tlp_high_seq; /* snd_nxt at the time of TLP retransmit. */
248+ u32 tlp_high_seq; /* snd_nxt at the time of TLP */
247249
248250 u32 tcp_tx_delay; /* delay (in usec) added to TX packets */
249251 u64 tcp_wstamp_ns; /* departure time for next sent data packet */
include/linux/xattr.h+2−1
@@ -15,6 +15,7 @@ · 14 unmodified lines
1515 #include <linux/slab.h>
1616 #include <linux/types.h>
1717 #include <linux/spinlock.h>
18+#include <linux/mm.h>
1819 #include <uapi/linux/xattr.h>
1920
2021 struct inode;
@@ -94,7 +95,7 @@ static inline void simple_xattrs_free(struct simple_xattrs *xattrs) · 73 unmodified lines
9495
9596 list_for_each_entry_safe(xattr, node, &xattrs->head, list) {
9697 kfree(xattr->name);
97− kfree(xattr);
98+ kvfree(xattr);
9899 }
99100 }
100101