Todd Kjos 85a050b00c UPSTREAM: binder: fix sparse issue in binder_alloc_selftest.c
Fixes sparse issues reported by the kbuild test robot running
on https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
char-misc-testing: bde4a19fc0 ("binder: use userspace pointer as base
of buffer space")

Error output (drivers/android/binder_alloc_selftest.c):
sparse: warning: incorrect type in assignment (different address spaces)
sparse:    expected void *page_addr
sparse:    got void [noderef] <asn:1> *user_data
sparse: error: subtraction of different types can't work

Fixed by adding necessary "__user" tags.

(cherry pick from commit 36f3093792)
Bug: 67668716
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Change-Id: Ia0a16d163251381d4bc04f46a44dddbc18b10a85
2019-03-25 15:08:19 -07:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00
2019-03-23 21:13:30 +01:00

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.
See Documentation/00-INDEX for a list of what is contained in each file.

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.
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%