Re: [PATCH] mtd: rawnand: driver for Mediatek MT7621 SoC NAND flash controller

2019-11-11 Thread Andrey Jr. Melnikov
In gmane.linux.drivers.mtd Boris Brezillon wrote: > +Richard and Miquel > On Thu, 07 Nov 2019 09:20:53 + > René van Dorst wrote: > > Quoting g...@kernel.org: > > > > > From: Greg Ungerer [..skipp..] > > +CC DENG Qingfang, Chuanhong Guo, Weijie Gao to the list. > > > > Hi Greg, > > >

[PATCH 1/2] staging: rtl8723bs: Add 024c:0525 to the list of SDIO device-ids

2019-11-11 Thread Hans de Goede
Add 024c:0525 to the list of SDIO device-ids, based on a patch found in the Android X86 kernels. According to that patch this device id is used on the Alcatel Plus 10 device. Reported-and-tested-by: youling257 Signed-off-by: Hans de Goede --- drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 1 +

[PATCH 2/2] staging: rtl8723bs: Drop ACPI device ids

2019-11-11 Thread Hans de Goede
The driver only binds by SDIO device-ids, all the ACPI device-id does is causing the driver to load unnecessarily on devices where the DSDT contains a bogus OBDA8723 device. Signed-off-by: Hans de Goede --- drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 6 -- 1 file changed, 6 deletions(-)

Re: [PATCH] staging: wfx: add gcc extension __force cast

2019-11-11 Thread Jules Irenge
On Sat, 9 Nov 2019, Al Viro wrote: > On Fri, Nov 08, 2019 at 11:38:37PM +, Jules Irenge wrote: > > Add gcc extension __force and __le32 cast to fix warning issued by Sparse > > tool."warning: cast to restricted __le32" > > > > Signed-off-by: Jules Irenge > > --- > >

Re: [PATCH v2 3/3] staging: wfx: replace u32 by __le32

2019-11-11 Thread Greg KH
On Mon, Nov 11, 2019 at 01:30:55PM +, Jules Irenge wrote: > Replace u32 by __le32 to fix warning of cast from restricted __le32. > Issue detected by sparse tool. > > Signed-off-by: Jules Irenge > --- > v1 uses casting to fix the warnings > v2 replace the declaration type of the variables >

Re: [PATCH] staging/octeon: Fix test build on MIPS

2019-11-11 Thread Greg Kroah-Hartman
On Sun, Nov 10, 2019 at 09:56:20AM -0800, Guenter Roeck wrote: > mips:allmodconfig fails to build. > > drivers/staging/octeon/ethernet-rx.c: In function 'cvm_oct_poll': > drivers/staging/octeon/ethernet-defines.h:30:38: error: > 'CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE' undeclared > > Octeon

[PATCH v2 2/3] staging: wfx: wrap characters

2019-11-11 Thread Jules Irenge
Wrap characters to fix line of over 80 characters. Issue detected by Checkpatch tool Signed-off-by: Jules Irenge --- v2 includes more of this type of errors drivers/staging/wfx/bus_sdio.c | 4 +- drivers/staging/wfx/data_rx.c| 6 +- drivers/staging/wfx/data_rx.h| 3 +-

[PATCH v2 3/3] staging: wfx: replace u32 by __le32

2019-11-11 Thread Jules Irenge
Replace u32 by __le32 to fix warning of cast from restricted __le32. Issue detected by sparse tool. Signed-off-by: Jules Irenge --- v1 uses casting to fix the warnings v2 replace the declaration type of the variables drivers/staging/wfx/hif_api_mib.h | 48 +++ 1

[PATCH v2 1/3] staging: wfx: replace uintXX_t to uXX and intXX_t to sXX

2019-11-11 Thread Jules Irenge
Replace uint8_t to u8, uint16_t to u16, uint32_t to u32 int8_t to s8,int16_t to s16 and int32_t to s32 As per recommendation of checkpatch tool. Signed-off-by: Jules Irenge --- Changes v1 had a spacing error v2 fixes the error and includes all the changes related to this patch in the driver.

[driver-core:device_h_splitup 56/57] include/linux/device/bus.h:96:37: error: unknown type name 'pm_message_t'

2019-11-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git device_h_splitup head: f9582e3b228292a3c646866487a437e075fc0ee5 commit: 43ed4c24a977067ac76d7b6051829934fb59ae2f [56/57] device.h: move 'struct bus' stuff out to device/bus.h config: x86_64-randconfig-s0-201945

Re: [PATCH v2 2/3] staging: wfx: wrap characters

2019-11-11 Thread Greg KH
On Mon, Nov 11, 2019 at 01:30:54PM +, Jules Irenge wrote: > Wrap characters to fix line of over 80 characters. > Issue detected by Checkpatch tool You did other things in here as well: > { > - struct ieee80211_hdr *frame = (struct ieee80211_hdr *) skb->data; > + struct ieee80211_hdr

RE: [PATCH v5 2/8] arm64: hyperv: Add hypercall and register access functions

2019-11-11 Thread Michael Kelley
From: Marc Zyngier Sent: Thursday, November 7, 2019 1:11 AM > >> > >> On 2019-10-03 20:12, Michael Kelley wrote: > >> > Add ARM64-specific code to make Hyper-V hypercalls and to > >> > access virtual processor synthetic registers via hypercalls. > >> > Hypercalls use a Hyper-V specific calling

Re: [PATCH v2 1/3] staging: wfx: replace uintXX_t to uXX and intXX_t to sXX

2019-11-11 Thread Jerome Pouiller
On Monday 11 November 2019 14:30:53 CET Jules Irenge wrote: > CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. > > > Replace uint8_t to u8, uint16_t to u16, uint32_t to u32 >

Re: [PATCH v2 1/3] staging: wfx: replace uintXX_t to uXX and intXX_t to sXX

2019-11-11 Thread gre...@linuxfoundation.org
On Mon, Nov 11, 2019 at 05:04:49PM +, Jerome Pouiller wrote: > I know that uXX is prefered over uintXX_t. However, I dislike to change > 650 lines of code only for this purpose in one batch. It will generate > plenty of conflicts with branches currently in development. Now that the code is

Re: [PATCH v2 3/3] staging: wfx: replace u32 by __le32

2019-11-11 Thread Jerome Pouiller
On Monday 11 November 2019 14:30:55 CET Jules Irenge wrote: [...] > - u32 count_rts_failures; > - u32 count_ack_failures; > - u32 count_rx_multicast_frames; > - u32 count_rx_frames_success; > - u32 count_rx_cmacicv_errors; > - u32

Re: [PATCH] staging: wfx: add gcc extension __force cast

2019-11-11 Thread Al Viro
On Mon, Nov 11, 2019 at 01:51:33PM +, Jules Irenge wrote: > > > NAK. force-cast (and it's not a gcc extension, BTW - it's sparse) is > > basically > > "I know better; the code is right, so STFU already". *IF* > > counters.count_... > > is really little-endian 32bit, then why isn't it

[driver-core:device_h_splitup 56/57] include/linux/device/bus.h:87:43: warning: 'struct kobj_uevent_env' declared inside parameter list

2019-11-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git device_h_splitup head: f9582e3b228292a3c646866487a437e075fc0ee5 commit: 43ed4c24a977067ac76d7b6051829934fb59ae2f [56/57] device.h: move 'struct bus' stuff out to device/bus.h config: x86_64-randconfig-a001-201945

Re: [PATCH v2 3/3] staging: wfx: replace u32 by __le32

2019-11-11 Thread Joe Perches
On Mon, 2019-11-11 at 16:58 +, Jerome Pouiller wrote: > On Monday 11 November 2019 14:30:55 CET Jules Irenge wrote: > [...] > > - u32 count_rts_failures; > > - u32 count_ack_failures; > > - u32 count_rx_multicast_frames; > > - u32 count_rx_frames_success; > > -

Re: [PATCH] staging: wfx: add gcc extension __force cast

2019-11-11 Thread Al Viro
On Mon, Nov 11, 2019 at 08:28:52PM +, Al Viro wrote: > So it smells like a remote buffer overrun, little-endian or not. > And at that point I would start looking for driver original authors with > some rather pointed questions about the validation of data and lack > thereof. > > BTW, if

[staging:staging-testing 159/337] drivers/staging/octeon/ethernet-tx.c:130:31: error: storage size of 'pko_command' isn't known

2019-11-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing head: 08283d30744434d8f30d386622372e8f5b03bcf2 commit: 6cc5e1c700316c11b61975af3be8ebcab1e2f8b9 [159/337] staging: octeon: remove typedef declartion for cvmx_pko_command_word0 config:

[PATCH v3 5/9] staging: exfat: Clean up return codes - FFS_ERROR

2019-11-11 Thread Valdis Kletnieks
Convert FFS_ERROR to -EINVAL Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 1 - drivers/staging/exfat/exfat_core.c | 10 +- drivers/staging/exfat/exfat_super.c | 20 ++-- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git

[PATCH v3 2/9] staging: exfat: Clean up return codes - FFS_MEDIAERR

2019-11-11 Thread Valdis Kletnieks
Convert FFS_MEDIAERR to (mostly) -ENOENT and -EIO. Some additional code surgery needed to propogate correct error codes upwards. Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h| 1 - drivers/staging/exfat/exfat_blkdev.c | 18 ++---

[PATCH v3 4/9] staging: exfat: Clean up return codes - FFS_INVALIDFID

2019-11-11 Thread Valdis Kletnieks
Covert FFS_INVALIDFID to -EINVAL Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 1 - drivers/staging/exfat/exfat_super.c | 10 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h

[PATCH v3 8/9] staging: exfat: Collapse redundant return code translations

2019-11-11 Thread Valdis Kletnieks
Now that we no longer use odd internal return codes, we can heave the translation code over the side, and just pass the error code back up the call chain. Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat_super.c | 92 + 1 file changed, 14

[PATCH v3 3/9] staging: exfat: Clean up return codes - FFS_EOF

2019-11-11 Thread Valdis Kletnieks
Convert FFS_EOF to return 0 for a zero-length read() as per 'man 2 read'. Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 1 - drivers/staging/exfat/exfat_super.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/exfat/exfat.h

[PATCH v3 7/9] staging: exfat: Clean up return codes - FFS_SUCCESS

2019-11-11 Thread Valdis Kletnieks
Convert FFS_SUCCESS to 0. Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 3 - drivers/staging/exfat/exfat_cache.c | 4 +- drivers/staging/exfat/exfat_core.c | 104 ++-- drivers/staging/exfat/exfat_super.c | 50 ++--- 4 files

[PATCH v3 1/9] staging: exfat: Clean up return codes - FFS_FORMATERR

2019-11-11 Thread Valdis Kletnieks
Convert FFS_FORMATERR to -EFSCORRUPTED Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 3 ++- drivers/staging/exfat/exfat_core.c | 8 drivers/staging/exfat/exfat_super.c | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git

[PATCH v3 6/9] staging: exfat: Clean up return codes - remove unused codes

2019-11-11 Thread Valdis Kletnieks
There are 6 FFS_* error values not used at all. Remove them. Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h index 443fafe1d89d..b3fc9bb06c24 100644 ---

[staging:staging-testing 156/337] drivers/staging/octeon/ethernet.c:177:21: error: dereferencing pointer to incomplete type 'struct cvmx_wqe'

2019-11-11 Thread kbuild test robot
Hi Wambui, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing head: 08283d30744434d8f30d386622372e8f5b03bcf2 commit: ef1fe6b7369a822d86a2fb8a688c721ae7f4eed3 [156/337] staging: octeon: remove typedef declaration

[staging:staging-testing 157/337] drivers/staging/octeon/ethernet.c:463:30: error: storage size of 'link_info' isn't known

2019-11-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing head: 08283d30744434d8f30d386622372e8f5b03bcf2 commit: 73aef0c9d2c6f746e8c84775b73ef374b7a2a4dc [157/337] staging: octeon: remove typedef declaration for cvmx_helper_link_info config:

[PATCH v3 0/9] staging: exfat: Clean up return codes

2019-11-11 Thread Valdis Kletnieks
Replace the oddball return codes with Linux-standard values Changes since v2: Fixed the git miscue that left one patch fragment in the wrong commit Dropped the patch that added EFSCORRUPTED to errno.h because that method won't work on some architectures. Rebased to today's staging-next tree.

[PATCH v3 9/9] staging: exfat: Correct return code

2019-11-11 Thread Valdis Kletnieks
Use -ENOTEMPTY rather than -EEXIST for attempting to remove a directory that still has files in it. Signed-off-by: Valdis Kletnieks --- drivers/staging/exfat/exfat_super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/exfat/exfat_super.c

[PATCH v5 0/2] Add initial support for slimport anx7625

2019-11-11 Thread Xin Ji
Hi all, The following series add initial support for the Slimport ANX7625 transmitter, a ultra-low power Full-HD 4K MIPI to DP transmitter designed for portable device. This is the initial version, any mistakes, please let me know, I will fix it in the next series. Thanks, Xin Xin Ji (2):

Re: [GIT PULL] IIO fixes / Staging driver for 5.4-rc7

2019-11-11 Thread Greg KH
On Mon, Nov 11, 2019 at 10:34:40PM -0800, Christoph Hellwig wrote: > On Sun, Nov 10, 2019 at 04:43:03PM +0100, Greg KH wrote: > > The staging driver addition is the vboxsf filesystem, which is the > > VirtualBox guest shared folder code. Hans has been trying to get > > filesystem reviewers to

Re: [GIT PULL] IIO fixes / Staging driver for 5.4-rc7

2019-11-11 Thread Christoph Hellwig
On Sun, Nov 10, 2019 at 04:43:03PM +0100, Greg KH wrote: > The staging driver addition is the vboxsf filesystem, which is the > VirtualBox guest shared folder code. Hans has been trying to get > filesystem reviewers to review the code for many months now, and > Christoph finally said to just

[PATCH v5 2/2] drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP bridge driver

2019-11-11 Thread Xin Ji
The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed for portable device. It converts MIPI DSI/DPI to DisplayPort 1.3 4K. The ANX7625 can support both USB Type-C PD feature and MIPI DSI/DPI to DP feature. This driver only enabled MIPI DSI/DPI to DP feature. Signed-off-by: Xin Ji

[PATCH v5 1/2] dt-bindings: drm/bridge: anx7625: MIPI to DP transmitter binding

2019-11-11 Thread Xin Ji
The ANX7625 is an ultra-low power 4K Mobile HD Transmitter designed for portable device. It converts MIPI to DisplayPort 1.3 4K. You can add support to your board with binding. Example: anx7625_bridge: encoder@58 { compatible = "analogix,anx7625"; reg =