Main-line Linux kernel tree http://www.kernel.org
Go to file
Deming Wang 32118bdc94 virt: acrn: Replace obsolete memalign() with posix_memalign()
memalign() is obsolete according to its manpage.

Replace memalign() with posix_memalign() and remove malloc.h include
that was there for memalign().

As a pointer is passed into posix_memalign(), initialize *p to NULL
to silence a warning about the function's return value being used as
uninitialized (which is not valid anyway because the error is properly
checked before p is returned).

Signed-off-by: Deming Wang <wangdeming@inspur.com>
Link: https://lore.kernel.org/r/20230412073041.2168-1-wangdeming@inspur.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-04-20 14:20:51 +02:00
arch
block
certs
crypto
Documentation dt-bindings: w1: Add DS2482/DS2484 I2C to 1-W bridges 2023-04-20 14:13:23 +02:00
drivers spmi: Add a check for remove callback when removing a SPMI driver 2023-04-20 14:16:39 +02:00
fs
include interconnect changes for 6.4 2023-04-19 15:07:09 +02:00
init
io_uring
ipc
kernel
lib
LICENSES
mm
net
rust
samples virt: acrn: Replace obsolete memalign() with posix_memalign() 2023-04-20 14:20:51 +02:00
scripts
security
sound
tools
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS MAINTAINERS: Remove Mathieu Poirier as coresight maintainer 2023-04-14 11:59:32 +01:00
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: w1: add Krzysztof Kozlowski as maintainer 2023-04-20 14:13:04 +02:00
Makefile
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.