[PATCH 5/9] staging: greybus: log: Fix up some alignment checkpatch issues

2019-08-24 Thread Greg Kroah-Hartman
Some function prototypes do not match the expected alignment formatting so fix that up so that checkpatch is happy. Cc: David Lin Cc: Johan Hovold Cc: Alex Elder Cc: greybus-...@lists.linaro.org Cc: de...@driverdev.osuosl.org Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/log.c

[PATCH 0/9] staging: move greybus core out of staging

2019-08-24 Thread Greg Kroah-Hartman
The Greybus code has long been "stable" but was living in the drivers/staging/ directory to see if there really was going to be devices using this protocol over the long-term. With the success of millions of phones with this hardware and code in it, and the recent Google Summer of Code project, an

[PATCH 8/9] staging: greybus: move the greybus core to drivers/greybus

2019-08-24 Thread Greg Kroah-Hartman
The Greybus core code has been stable for a long time, and has been shipping for many years in millions of phones. With the advent of a recent Google Summer of Code project, and a number of new devices in the works from various companies, it is time to get the core greybus code out of staging as i

[PATCH 9/9] staging: greybus: move es2 to drivers/greybus/

2019-08-24 Thread Greg Kroah-Hartman
The es2 Greybus host controller has long been stable, so move it out of drivers/staging/ to drivers/greybus/ Cc: Johan Hovold Cc: Alex Elder Cc: greybus-...@lists.linaro.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/greybus/Kconfig | 16 +++

[PATCH 7/9] staging: greybus: move core include files to include/linux/greybus/

2019-08-24 Thread Greg Kroah-Hartman
With the goal of moving the core of the greybus code out of staging, the include files need to be moved to include/linux/greybus.h and include/linux/greybus/ Cc: Vaibhav Hiremath Cc: Johan Hovold Cc: Alex Elder Cc: Vaibhav Agarwal Cc: Mark Greer Cc: Viresh Kumar Cc: Rui Miguel Silva Cc: Dav

[PATCH 1/9] staging: greybus: fix up SPDX comment in .h files

2019-08-24 Thread Greg Kroah-Hartman
When these files originally got an SPDX tag, I used // instead of /* */ for the .h files. Fix this up to use // properly. Cc: Viresh Kumar Cc: Johan Hovold Cc: Alex Elder Cc: greybus-...@lists.linaro.org Cc: de...@driverdev.osuosl.org Signed-off-by: Greg Kroah-Hartman --- drivers/staging/gre

[PATCH 6/9] staging: greybus: loopback: Fix up some alignment checkpatch issues

2019-08-24 Thread Greg Kroah-Hartman
Some function prototypes do not match the expected alignment formatting so fix that up so that checkpatch is happy. Cc: "Bryan O'Donoghue" Cc: Johan Hovold Cc: Alex Elder Cc: greybus-...@lists.linaro.org Cc: de...@driverdev.osuosl.org Signed-off-by: Greg Kroah-Hartman --- drivers/staging/grey

[PATCH 2/9] staging: greybus: remove license "boilerplate"

2019-08-24 Thread Greg Kroah-Hartman
When the greybus drivers were converted to SPDX identifiers for the license text, some license boilerplate was not removed. Clean this up by removing this unneeded text now. Cc: Johan Hovold Cc: Alex Elder Cc: Vaibhav Agarwal Cc: Mark Greer Cc: Viresh Kumar Cc: "Bryan O'Donoghue" Cc: greybu

[PATCH 4/9] staging: greybus: manifest: Fix up some alignment checkpatch issues

2019-08-24 Thread Greg Kroah-Hartman
Some function prototypes do not match the expected alignment formatting so fix that up so that checkpatch is happy. Cc: Johan Hovold Cc: Alex Elder Cc: greybus-...@lists.linaro.org Cc: de...@driverdev.osuosl.org Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/manifest.c | 39

[PATCH 3/9] staging: greybus: hd: Fix up some alignment checkpatch issues

2019-08-24 Thread Greg Kroah-Hartman
Some function prototypes do not match the expected alignment formatting so fix that up so that checkpatch is happy. Cc: Johan Hovold Cc: Alex Elder Cc: greybus-...@lists.linaro.org Cc: de...@driverdev.osuosl.org Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/hd.c | 10 +-

[PATCH v2 2/2] media: imx: Move pads init to probe

2019-08-24 Thread Steve Longerbeam
If a subdevice is unregistered and then registered again without the driver being removed and re-probed (which will happen when the media device is removed and re-probed without also removing/re-probing the subdevice), media_device_register_entity() is called with a non-zero entity->num_pads, and t

[PATCH v2 1/2] media: imx: Move capture device init to registered

2019-08-24 Thread Steve Longerbeam
If the CSI is unregistered and then registered again without the driver being removed and re-probed (which will happen when the media device is removed and re-probed without also removing/re-probing the CSI), the result is the kobject error and backtrace "tried to init an initialized object". This

Re: [PATCH 1/2] media: imx: Move capture device init to registered

2019-08-24 Thread kbuild test robot
/Steve-Longerbeam/media-imx-Move-capture-device-init-to-registered/20190824-182241 base: git://linuxtv.org/media_tree.git master config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests

Re: [PATCH] staging: vt6656: Use common error handling code in vnt_alloc_bufs()

2019-08-24 Thread Dan Carpenter
The original code is fine. There was no chance we were going to apply the patch so there is no need for any discussion. I don't know why Markus sent it when he knows. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://dr

[PATCH] staging: android: ion: cma heap: Limit size of allocated buffer

2019-08-24 Thread Alexey Skidanov
In ion_cma_heap, the allocated buffer is represented by a single struct scatterlist instance. The length field of this struct is 32 bit, hence the maximal size of requested buffer should be less than 4GB. The len paramer of the allocation function is 64 bit (on 64 bit systems). Hence the requested