Skip to content

Commit

Permalink
Merge tag 'v6.12.1' into HEAD
Browse files Browse the repository at this point in the history
 * Linux 6.12.1

Signed-off-by: Yang Jeong Hun <onyxclover9931@gmail.com>
  • Loading branch information
Nevuly committed Nov 23, 2024
2 parents cdc4948 + d390303 commit bffbaf5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 12
SUBLEVEL = 0
SUBLEVEL = 1
EXTRAVERSION =
NAME = Baby Opossum Posse

Expand Down
2 changes: 1 addition & 1 deletion drivers/media/usb/uvc/uvc_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ static int uvc_parse_format(struct uvc_device *dev,
* Parse the frame descriptors. Only uncompressed, MJPEG and frame
* based formats have frame descriptors.
*/
while (buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE &&
while (ftype && buflen > 2 && buffer[1] == USB_DT_CS_INTERFACE &&
buffer[2] == ftype) {
unsigned int maxIntervalIndex;

Expand Down
13 changes: 12 additions & 1 deletion mm/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,18 @@ static unsigned long __mmap_region(struct file *file, unsigned long addr,
vm_flags = vma->vm_flags;
goto file_expanded;
}
vma_iter_config(&vmi, addr, end);

/*
* In the unlikely even that more memory was needed, but
* not available for the vma merge, the vma iterator
* will have no memory reserved for the write we told
* the driver was happening. To keep up the ruse,
* ensure the allocation for the store succeeds.
*/
if (vmg_nomem(&vmg)) {
mas_preallocate(&vmi.mas, vma,
GFP_KERNEL|__GFP_NOFAIL);
}
}

vm_flags = vma->vm_flags;
Expand Down
1 change: 1 addition & 0 deletions net/vmw_vsock/hyperv_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ static void hvs_destruct(struct vsock_sock *vsk)
vmbus_hvsock_device_unregister(chan);

kfree(hvs);
vsk->trans = NULL;
}

static int hvs_dgram_bind(struct vsock_sock *vsk, struct sockaddr_vm *addr)
Expand Down

0 comments on commit bffbaf5

Please sign in to comment.