Linux kernel source tree
Go to file
Jakob Koschel 4a2a73bf33 usb: gadget: lpc32xx_udc: remove usage of list iterator past the loop body
If the list representing the request queue does not contain the expected
request, the value of the list_for_each_entry() iterator will not point
to a valid structure. To avoid type confusion in such case, the list
iterator scope will be limited to the list_for_each_entry() loop.

In preparation to limiting scope of the list iterator to the list traversal
loop, use a dedicated pointer to point to the found request object [1].

Link: https://lore.kernel.org/all/YhdfEIwI4EdtHdym@kroah.com/
Signed-off-by: Jakob Koschel <jakobkoschel@gmail.com>
Link: https://lore.kernel.org/r/20220308171818.384491-9-jakobkoschel@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-15 18:19:43 +01:00
Documentation dt-bindings: usb: add rk3568 compatible to rockchip, dwc3 2022-03-15 15:40:22 +01:00
LICENSES
arch arm64: dts: imx8mp: Add memory for USB3 glue layer to usb3 nodes 2022-03-15 15:37:11 +01:00
block block: clear iocb->private in blkdev_bio_end_io_async() 2022-02-22 06:59:49 -07:00
certs
crypto
drivers usb: gadget: lpc32xx_udc: remove usage of list iterator past the loop body 2022-03-15 18:19:43 +01:00
fs Tracing fixes for 5.17: 2022-02-26 12:10:17 -08:00
include Merge 5.17-rc6 into usb-next 2022-02-28 21:42:36 +01:00
init
ipc
kernel dma-mapping fix for Linux 5.17 2022-02-27 12:42:37 -08:00
lib kasan: test: prevent cache merging in kmem_cache_double_destroy 2022-02-26 09:51:17 -08:00
mm memblock: use kfree() to release kmalloced memblock regions 2022-02-26 12:00:44 -08:00
net ping: remove pr_err from ping_lookup 2022-02-24 09:18:29 -08:00
samples
scripts
security selinux/stable-5.17 PR 20220223 2022-02-23 17:19:55 -08:00
sound
tools Tracing fixes for 5.17: 2022-02-26 12:10:17 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap mailmap: update Roman Gushchin's email 2022-02-26 09:51:17 -08:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Merge 5.17-rc6 into usb-next 2022-02-28 21:42:36 +01:00
Makefile Linux 5.17-rc6 2022-02-27 14:36:33 -08:00
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.