mainlining shenanigans
Go to file
Martin Kaiser 017909281e mailbox: stm32-ipcc: cast void pointers to unsigned long
Now that the driver can be enabled by COMPILE_TEST, we see warnings on
64bit platforms when void pointers are cast to unsigned int (and
vice versa).

warning: cast to smaller integer type 'unsigned int' from 'void *'
           unsigned int chan = (unsigned int)link->con_priv;
...
warning: cast to 'void *' from smaller integer type 'unsigned int'
           ipcc->controller.chans[i].con_priv = (void *)i;

Update these casts to use unsigned long variables, which are the same
size as pointers on all platforms.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Reviewed-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2020-12-01 19:17:20 -06:00
arch Yet two more places which invoke tracing from RCU disabled regions in the 2020-11-29 11:19:26 -08:00
block
certs
crypto
Documentation Tracing fixes for 5.10-rc6 2020-12-01 15:30:18 -08:00
drivers mailbox: stm32-ipcc: cast void pointers to unsigned long 2020-12-01 19:17:20 -06:00
fs cifs: fix potential use-after-free in cifs_echo_request() 2020-11-30 15:23:45 -06:00
include Tracing fixes for 5.10-rc6 2020-12-01 15:30:18 -08:00
init Urgent printk fix for 5.10 2020-11-27 10:38:36 -08:00
ipc
kernel Tracing fixes for 5.10-rc6 2020-12-01 15:30:18 -08:00
lib
LICENSES
mm mm: fix VM_BUG_ON(PageTail) and BUG_ON(PageWriteback) 2020-11-24 15:23:19 -08:00
net linux-can-fixes-for-5.10-20201127 2020-11-27 11:13:39 -08:00
samples Tracing fixes for 5.10-rc6 2020-12-01 15:30:18 -08:00
scripts Kbuild fixes for v5.10 2020-11-28 10:42:30 -08:00
security
sound
tools Tracing fixes for 5.10-rc6 2020-12-01 15:30:18 -08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap ARM: 2020-11-27 11:04:13 -08:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Char/misc driver fixes for 5.10-rc6 2020-11-28 10:04:36 -08:00
Makefile Linux 5.10-rc6 2020-11-29 15:50:50 -08:00
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.