John Stultz aba366935d ANDROID: serdev: Fix platform device support
After commit cdad3113fcaa ("ANDROID: serdev: add platform device
support") landed, we started seeing boot panics on HiKey960/HiKey.

After some debugging I found the patch is passing a serdev_device->dev
pointer to match()/uevent(), which expects the dev pointer to be
contained in a platform_device structure instead. When it uses
container_of, it ends up miscast and we get bad values.

Alistair suggested this fix which seems to avoid the issue.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Bug: 146517987
Change-Id: I6354aeb4008fff85264a3c848c6c95fb8ca5b07a
2020-01-02 21:58:32 +00:00
2019-12-31 16:32:16 +01:00
2019-12-17 21:13:36 +01:00
2019-12-31 16:32:16 +01:00
2019-08-06 19:15:25 +02:00
2019-12-17 21:13:36 +01:00
2019-12-17 21:13:36 +01:00
2019-12-31 16:32:16 +01:00
2019-12-31 16:32:16 +01:00
2019-12-13 07:14:18 -08:00
2019-12-31 16:32:16 +01:00

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

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

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 1.4 GiB
Languages
C 98.1%
Assembly 1.2%
Makefile 0.3%