[GIT PULL] Staging driver fix for 5.12-rc6
The following changes since commit 0d02ec6b3136c73c09e7859f0d0e4e2c4c07b49b: Linux 5.12-rc4 (2021-03-21 14:56:43 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git tags/staging-5.12-rc6 for you to fetch changes up to e78836ae76d20f38eed8c8c67f21db97529949da: staging: rtl8192e: Change state information from u16 to u8 (2021-03-23 13:32:40 +0100) Staging driver fixes for 5.12-rc6 Here are 2 rtl8192e staging driver fixes for reported problems. Both of these have been in linux-next for a while with no reported issues. Signed-off-by: Greg Kroah-Hartman Atul Gopinathan (2): staging: rtl8192e: Fix incorrect source in memcpy() staging: rtl8192e: Change state information from u16 to u8 drivers/staging/rtl8192e/rtllib.h| 2 +- drivers/staging/rtl8192e/rtllib_rx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[driver-core:debugfs_remove_return_value 16/24] drivers/tty/serial/pch_uart.c:1815:9: error: 'port_regs_ops' undeclared
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_remove_return_value head: b133d227ed48382c8cf8f977f69279cf3a0e0ac4 commit: 0ce3084ec1fef72edd1edee6d144626178a47d4a [16/24] tty: serial: pch_uart.c: remove debugfs dentry pointer config: ia64-randconfig-r034-20210403 (attached as .config) compiler: ia64-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?id=0ce3084ec1fef72edd1edee6d144626178a47d4a git remote add driver-core https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git git fetch --no-tags driver-core debugfs_remove_return_value git checkout 0ce3084ec1fef72edd1edee6d144626178a47d4a # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from arch/ia64/include/asm/pgtable.h:154, from include/linux/pgtable.h:6, from arch/ia64/include/asm/uaccess.h:40, from include/linux/uaccess.h:11, from arch/ia64/include/asm/sections.h:11, from include/linux/interrupt.h:20, from include/linux/pci.h:38, from drivers/tty/serial/pch_uart.c:9: arch/ia64/include/asm/mmu_context.h: In function 'reload_context': arch/ia64/include/asm/mmu_context.h:127:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable] 127 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4; | ^~~ drivers/tty/serial/pch_uart.c: In function 'pch_uart_init_port': >> drivers/tty/serial/pch_uart.c:1815:9: error: 'port_regs_ops' undeclared >> (first use in this function) 1815 |&port_regs_ops); | ^ drivers/tty/serial/pch_uart.c:1815:9: note: each undeclared identifier is reported only once for each function it appears in vim +/port_regs_ops +1815 drivers/tty/serial/pch_uart.c 1725 1726 static struct eg20t_port *pch_uart_init_port(struct pci_dev *pdev, 1727 const struct pci_device_id *id) 1728 { 1729 struct eg20t_port *priv; 1730 int ret; 1731 unsigned int iobase; 1732 unsigned int mapbase; 1733 unsigned char *rxbuf; 1734 int fifosize; 1735 int port_type; 1736 struct pch_uart_driver_data *board; 1737 char name[32]; 1738 1739 board = &drv_dat[id->driver_data]; 1740 port_type = board->port_type; 1741 1742 priv = kzalloc(sizeof(struct eg20t_port), GFP_KERNEL); 1743 if (priv == NULL) 1744 goto init_port_alloc_err; 1745 1746 rxbuf = (unsigned char *)__get_free_page(GFP_KERNEL); 1747 if (!rxbuf) 1748 goto init_port_free_txbuf; 1749 1750 switch (port_type) { 1751 case PORT_PCH_8LINE: 1752 fifosize = 256; /* EG20T/ML7213: UART0 */ 1753 break; 1754 case PORT_PCH_2LINE: 1755 fifosize = 64; /* EG20T:UART1~3 ML7213: UART1~2*/ 1756 break; 1757 default: 1758 dev_err(&pdev->dev, "Invalid Port Type(=%d)\n", port_type); 1759 goto init_port_hal_free; 1760 } 1761 1762 pci_enable_msi(pdev); 1763 pci_set_master(pdev); 1764 1765 spin_lock_init(&priv->lock); 1766 1767 iobase = pci_resource_start(pdev, 0); 1768 mapbase = pci_resource_start(pdev, 1); 1769 priv->mapbase = mapbase; 1770 priv->iobase = iobase; 1771 priv->pdev = pdev; 1772 priv->tx_empty = 1; 1773 priv->rxbuf.buf = rxbuf; 1774 priv->rxbuf.size = PAGE_SIZE; 1775 1776 priv->fifo_size = fifosize; 1777 priv->uartclk = pch_uart_get_uartclk(); 1778 priv->port_type = port_type; 1779 priv->port.dev = &pdev->dev; 1780 priv->port.iobase = iobase; 1781 priv->port.membase = NULL; 1782 priv->port.mapbase = mapbase; 1783 priv->port.irq = pdev->irq; 1784 priv->port.iotype = UPIO_PORT; 1785 priv->port.ops = &pch_uart_ops; 1786 priv->port.flags = UPF_BO
[PATCH] staging: fbtft: convert sysfs snprintf to sysfs_emit
From: Xuezhi Zhang Fix the following coccicheck warning: drivers/staging/fbtft//fbtft-sysfs.c:202:8-16: WARNING: use scnprintf or sprintf Signed-off-by: Xuezhi Zhang --- drivers/staging/fbtft/fbtft-sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fbtft/fbtft-sysfs.c b/drivers/staging/fbtft/fbtft-sysfs.c index 26e52cc2d..39e8d2806 100644 --- a/drivers/staging/fbtft/fbtft-sysfs.c +++ b/drivers/staging/fbtft/fbtft-sysfs.c @@ -199,7 +199,7 @@ static ssize_t show_debug(struct device *device, struct fb_info *fb_info = dev_get_drvdata(device); struct fbtft_par *par = fb_info->par; - return snprintf(buf, PAGE_SIZE, "%lu\n", par->debug); + return sysfs_emit(buf, "%lu\n", par->debug); } static struct device_attribute debug_device_attr = -- 2.25.1 ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Re: [GIT PULL] Staging driver fix for 5.12-rc6
The pull request you sent on Sat, 3 Apr 2021 12:51:29 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > tags/staging-5.12-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3e707eb6b8aa715847c17279f9c17c8dca2d639b Thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[driver-core:readfile 2/4] arch/arm64/include/asm/unistd32.h:897:11: error: array designator index (443) exceeds array bounds (443)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git readfile head: 49df3607c64bd48afbc4ce729ee310364c134def commit: 8e475ba37dc1e5922dc4648bb42b1a36f692e440 [2/4] arch: wire up the readfile syscall config: arm64-randconfig-r025-20210404 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 3bcb6a389ff4338d76a25b7d9e0e3c40d84695be) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?id=8e475ba37dc1e5922dc4648bb42b1a36f692e440 git remote add driver-core https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git git fetch --no-tags driver-core readfile git checkout 8e475ba37dc1e5922dc4648bb42b1a36f692e440 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^ :51:1: note: expanded from here __arm64_sys_clone3 ^~ arch/arm64/kernel/sys32.c:133:37: note: previous initialization is here [0 ... __NR_compat_syscalls - 1] = __arm64_sys_ni_syscall, ^~ In file included from arch/arm64/kernel/sys32.c:134: arch/arm64/include/asm/unistd32.h:883:1: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] __SYSCALL(__NR_close_range, sys_close_range) ^~~~ arch/arm64/kernel/sys32.c:130:35: note: expanded from macro '__SYSCALL' #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^ :52:1: note: expanded from here __arm64_sys_close_range ^~~ arch/arm64/kernel/sys32.c:133:37: note: previous initialization is here [0 ... __NR_compat_syscalls - 1] = __arm64_sys_ni_syscall, ^~ In file included from arch/arm64/kernel/sys32.c:134: arch/arm64/include/asm/unistd32.h:885:1: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] __SYSCALL(__NR_openat2, sys_openat2) ^~~~ arch/arm64/kernel/sys32.c:130:35: note: expanded from macro '__SYSCALL' #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^ :53:1: note: expanded from here __arm64_sys_openat2 ^~~ arch/arm64/kernel/sys32.c:133:37: note: previous initialization is here [0 ... __NR_compat_syscalls - 1] = __arm64_sys_ni_syscall, ^~ In file included from arch/arm64/kernel/sys32.c:134: arch/arm64/include/asm/unistd32.h:887:1: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] __SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd) ^~~~ arch/arm64/kernel/sys32.c:130:35: note: expanded from macro '__SYSCALL' #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^ :54:1: note: expanded from here __arm64_sys_pidfd_getfd ^~~ arch/arm64/kernel/sys32.c:133:37: note: previous initialization is here [0 ... __NR_compat_syscalls - 1] = __arm64_sys_ni_syscall, ^~ In file included from arch/arm64/kernel/sys32.c:134: arch/arm64/include/asm/unistd32.h:889:1: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] __SYSCALL(__NR_faccessat2, sys_faccessat2) ^~ arch/arm64/kernel/sys32.c:130:35: note: expanded from macro '__SYSCALL' #define __SYSCALL(nr, sym) [nr] = __arm64_##sym, ^ :55:1: note: expanded from here __arm64_sys_faccessat2 ^~ arch/arm64/kernel/sys32.c:133:37: note: previous initialization is here [0 ... __NR_compat_syscalls - 1] = __arm64_sys_ni_syscall, ^~ In file included from arch/arm64/kernel/sys32.c:134: arch/arm64/include/asm/unistd32.h:891:1: warning: initializer overrides prior initialization of this subobject [-W
[driver-core:readfile] BUILD REGRESSION 49df3607c64bd48afbc4ce729ee310364c134def
allyesconfig xtensa allyesconfig h8300allyesconfig arc defconfig sh allmodconfig parisc defconfig s390 allyesconfig s390 allmodconfig parisc allyesconfig s390defconfig sparcallyesconfig sparc defconfig i386defconfig mips allyesconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a006-20210404 i386 randconfig-a003-20210404 i386 randconfig-a001-20210404 i386 randconfig-a004-20210404 i386 randconfig-a005-20210404 i386 randconfig-a002-20210404 i386 randconfig-a006-20210403 i386 randconfig-a003-20210403 i386 randconfig-a001-20210403 i386 randconfig-a004-20210403 i386 randconfig-a002-20210403 i386 randconfig-a005-20210403 x86_64 randconfig-a014-20210403 x86_64 randconfig-a015-20210403 x86_64 randconfig-a011-20210403 x86_64 randconfig-a013-20210403 x86_64 randconfig-a012-20210403 x86_64 randconfig-a016-20210403 i386 randconfig-a014-20210403 i386 randconfig-a011-20210403 i386 randconfig-a016-20210403 i386 randconfig-a012-20210403 i386 randconfig-a013-20210403 i386 randconfig-a015-20210403 i386 randconfig-a014-20210404 i386 randconfig-a016-20210404 i386 randconfig-a011-20210404 i386 randconfig-a012-20210404 i386 randconfig-a015-20210404 i386 randconfig-a013-20210404 x86_64 randconfig-a004-20210404 x86_64 randconfig-a003-20210404 x86_64 randconfig-a005-20210404 x86_64 randconfig-a001-20210404 x86_64 randconfig-a002-20210404 x86_64 randconfig-a006-20210404 riscvnommu_k210_defconfig riscvnommu_virt_defconfig riscv allnoconfig riscv defconfig riscv rv32_defconfig um allmodconfig umallnoconfig um allyesconfig um defconfig x86_64rhel-8.3-kselftests x86_64 defconfig x86_64 rhel-8.3 x86_64 rhel-8.3-kbuiltin x86_64 kexec clang tested configs: x86_64 randconfig-a004-20210403 x86_64 randconfig-a005-20210403 x86_64 randconfig-a003-20210403 x86_64 randconfig-a001-20210403 x86_64 randconfig-a002-20210403 x86_64 randconfig-a006-20210403 x86_64 randconfig-a014-20210404 x86_64 randconfig-a015-20210404 x86_64 randconfig-a013-20210404 x86_64 randconfig-a011-20210404 x86_64 randconfig-a012-20210404 x86_64 randconfig-a016-20210404 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[driver-core:debugfs_remove_return_value] BUILD SUCCESS 47cd5c82df8d5e40bd3959876ce374891e5f949c
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git debugfs_remove_return_value branch HEAD: 47cd5c82df8d5e40bd3959876ce374891e5f949c serial: pch_uart: fix build error with !CONFIG_DEBUG_FS elapsed time: 726m configs tested: 94 configs skipped: 2 The following configs have been built successfully. More configs may be tested in the coming days. gcc tested configs: arm defconfig arm64allyesconfig arm64 defconfig arm allyesconfig arm allmodconfig x86_64 allyesconfig riscvallmodconfig i386 allyesconfig riscvallyesconfig powerpc powernv_defconfig mips malta_kvm_defconfig m68kmvme16x_defconfig powerpc ppc40x_defconfig mips tb0226_defconfig ia64 allmodconfig m68k amcore_defconfig m68k bvme6000_defconfig arm spear13xx_defconfig powerpc ppa8548_defconfig sh kfr2r09-romimage_defconfig sh sdk7780_defconfig powerpc ep8248e_defconfig powerpc g5_defconfig alphaallyesconfig m68k alldefconfig sh r7780mp_defconfig mips rbtx49xx_defconfig powerpc allnoconfig ia64defconfig ia64 allyesconfig m68k allmodconfig m68kdefconfig m68k allyesconfig nios2 defconfig arc allyesconfig nds32 allnoconfig nds32 defconfig nios2allyesconfig cskydefconfig alpha defconfig xtensa allyesconfig h8300allyesconfig arc defconfig sh allmodconfig parisc defconfig s390 allyesconfig s390 allmodconfig parisc allyesconfig s390defconfig sparcallyesconfig sparc defconfig i386defconfig mips allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig i386 randconfig-a006-20210403 i386 randconfig-a003-20210403 i386 randconfig-a001-20210403 i386 randconfig-a004-20210403 i386 randconfig-a002-20210403 i386 randconfig-a005-20210403 x86_64 randconfig-a014-20210403 x86_64 randconfig-a015-20210403 x86_64 randconfig-a011-20210403 x86_64 randconfig-a013-20210403 x86_64 randconfig-a012-20210403 x86_64 randconfig-a016-20210403 i386 randconfig-a014-20210403 i386 randconfig-a011-20210403 i386 randconfig-a016-20210403 i386 randconfig-a012-20210403 i386 randconfig-a013-20210403 i386 randconfig-a015-20210403 riscvnommu_k210_defconfig riscvnommu_virt_defconfig riscv allnoconfig riscv defconfig riscv rv32_defconfig um allmodconfig umallnoconfig um allyesconfig um defconfig x86_64rhel-8.3-kselftests x86_64 defconfig x86_64 rhel-8.3 x86_64 rhel-8.3-kbuiltin x86_64 kexec clang tested configs: x86_64 randconfig-a004-20210403 x86_64 randconfig-a005-20210403 x86_64 randconfig-a003-20210403 x86_64 randconfig-a001-20210403 x86_64 randconfig-a002-20210403 x86_64 randconfig-a006-20210403 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org ___ devel mailing list de...@linuxdriverproject.org http