Re: [driver-core:driver-core-testing 5/7] drivers/base/firmware_loader/test-builtin/test-builtin-firmware.bin.gen.S:5: Error: file not found: drivers/base/firmware_loader/test-builtin/test-builtin-fir
On Sat, Nov 27, 2021 at 11:24:12AM +0800, kernel test robot wrote: > tree: > https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git > driver-core-testing > head: 7f67ea9c19735222f7999754f3fee922cd8f4781 > commit: 6a4e0b75cfa09e70c0aa39a03b478641cf2a7974 [5/7] test_firmware: add > support for testing built-in firmware > config: powerpc-allyesconfig > (https://download.01.org/0day-ci/archive/20211127/202111271140.xmh9icbt-...@intel.com/config) > compiler: powerpc-linux-gcc (GCC) 11.2.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=6a4e0b75cfa09e70c0aa39a03b478641cf2a7974 > git remote add driver-core > https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git > git fetch --no-tags driver-core driver-core-testing > git checkout 6a4e0b75cfa09e70c0aa39a03b478641cf2a7974 > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross > O=build_dir ARCH=powerpc SHELL=/bin/bash > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > >drivers/base/firmware_loader/test-builtin/test-builtin-firmware.bin.gen.S: > Assembler messages: > >> drivers/base/firmware_loader/test-builtin/test-builtin-firmware.bin.gen.S:5: > >> Error: file not found: > >> drivers/base/firmware_loader/test-builtin/test-builtin-firmware.bin Thanks for the report. Luis, I'm dropping this series from my tree. greg k-h ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[staging:staging-next] BUILD SUCCESS 84c365f8ff8fc93a34d6cabe780d0b0f49c177e2
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next branch HEAD: 84c365f8ff8fc93a34d6cabe780d0b0f49c177e2 staging: r8188eu: remove the _cancel_workitem_sync wrapper elapsed time: 1646m configs tested: 106 configs skipped: 3 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 i386 randconfig-c001-20211125 powerpc bluestone_defconfig powerpc pq2fads_defconfig xtensaxip_kc705_defconfig powerpc canyonlands_defconfig sh ul2_defconfig s390 zfcpdump_defconfig arm omap2plus_defconfig powerpcadder875_defconfig armdove_defconfig m68km5272c3_defconfig armspear3xx_defconfig i386 alldefconfig powerpc mpc8272_ads_defconfig pariscgeneric-32bit_defconfig sh microdev_defconfig arm rpc_defconfig arm multi_v4t_defconfig arm randconfig-c002-20211126 ia64 allmodconfig ia64defconfig ia64 allyesconfig m68k allmodconfig m68kdefconfig m68k allyesconfig nios2 defconfig arc allyesconfig nds32 allnoconfig nds32 defconfig nios2allyesconfig cskydefconfig alpha defconfig alphaallyesconfig xtensa allyesconfig h8300allyesconfig arc defconfig sh allmodconfig parisc defconfig s390 allyesconfig s390 allmodconfig parisc allyesconfig s390defconfig sparc defconfig sparcallyesconfig i386 debian-10.3-kselftests i386 allyesconfig i386defconfig i386 debian-10.3 mips allyesconfig mips allmodconfig powerpc allnoconfig powerpc allyesconfig powerpc allmodconfig x86_64 randconfig-a014-20211126 x86_64 randconfig-a011-20211126 x86_64 randconfig-a012-20211126 x86_64 randconfig-a016-20211126 x86_64 randconfig-a013-20211126 x86_64 randconfig-a015-20211126 i386 randconfig-a016-20211126 i386 randconfig-a015-20211126 i386 randconfig-a012-20211126 i386 randconfig-a013-20211126 i386 randconfig-a014-20211126 i386 randconfig-a011-20211126 arc randconfig-r043-20211126 s390 randconfig-r044-20211126 riscvrandconfig-r042-20211126 riscvnommu_k210_defconfig riscvnommu_virt_defconfig riscv allnoconfig riscv defconfig riscv rv32_defconfig riscvallyesconfig riscvallmodconfig um x86_64_defconfig um i386_defconfig x86_64 allyesconfig x86_64rhel-8.3-kselftests x86_64 defconfig x86_64 rhel-8.3 x86_64 rhel-8.3-func x86_64 kexec clang tested configs: s390 randconfig-c005-20211126 i386 randconfig-c001-20211126 powerpc randconfig-c003-20211126 riscvrandconfig-c006-20211126 arm randconfig-c002-20211126 x86_64 randconfig-c007-20211126 mips randconfig-c004-20211126 x86_64 randconfig-a001-20211126 x86_64 randconfig-a003-20211126 x86_64 randconfig-a006-20211126 x86_64 randconfig-a004-20211126 x86_64 randconfig
Patch "staging: ion: Prevent incorrect reference counting behavour" has been added to the 4.4-stable tree
This is a note to let you know that I've just added the patch titled staging: ion: Prevent incorrect reference counting behavour to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: staging-ion-prevent-incorrect-reference-counting-behavour.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >From lee.jo...@linaro.org Sat Nov 27 12:56:17 2021 From: Lee Jones Date: Fri, 26 Nov 2021 10:33:35 + Subject: staging: ion: Prevent incorrect reference counting behavour To: lee.jo...@linaro.org Cc: de...@driverdev.osuosl.org, a...@android.com, sta...@vger.kernel.org, riandr...@android.com, labb...@redhat.com, sumit.sem...@linaro.org, Dan Carpenter Message-ID: <20211126103335.880816-1-lee.jo...@linaro.org> From: Lee Jones Supply additional checks in order to prevent unexpected results. Fixes: b892bf75b2034 ("ion: Switch ion to use dma-buf") Suggested-by: Dan Carpenter Signed-off-by: Lee Jones Signed-off-by: Greg Kroah-Hartman --- drivers/staging/android/ion/ion.c |6 ++ 1 file changed, 6 insertions(+) --- a/drivers/staging/android/ion/ion.c +++ b/drivers/staging/android/ion/ion.c @@ -606,6 +606,9 @@ static void *ion_buffer_kmap_get(struct void *vaddr; if (buffer->kmap_cnt) { + if (buffer->kmap_cnt == INT_MAX) + return ERR_PTR(-EOVERFLOW); + buffer->kmap_cnt++; return buffer->vaddr; } @@ -626,6 +629,9 @@ static void *ion_handle_kmap_get(struct void *vaddr; if (handle->kmap_cnt) { + if (handle->kmap_cnt == INT_MAX) + return ERR_PTR(-EOVERFLOW); + handle->kmap_cnt++; return buffer->vaddr; } Patches currently in stable-queue which might be from lee.jo...@linaro.org are queue-4.4/staging-ion-prevent-incorrect-reference-counting-behavour.patch ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Re: [PATCH v3 1/1] staging: ion: Prevent incorrect reference counting behavour
On Fri, Nov 26, 2021 at 10:33:35AM +, Lee Jones wrote: > Supply additional checks in order to prevent unexpected results. > > Fixes: b892bf75b2034 ("ion: Switch ion to use dma-buf") > Suggested-by: Dan Carpenter > Signed-off-by: Lee Jones > --- > Destined for v4.4.y and v4.9.y > > drivers/staging/android/ion/ion.c | 6 ++ > 1 file changed, 6 insertions(+) Now queued up, thanks. greg k-h ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Patch "staging: ion: Prevent incorrect reference counting behavour" has been added to the 4.9-stable tree
This is a note to let you know that I've just added the patch titled staging: ion: Prevent incorrect reference counting behavour to the 4.9-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: staging-ion-prevent-incorrect-reference-counting-behavour.patch and it can be found in the queue-4.9 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >From lee.jo...@linaro.org Sat Nov 27 12:56:17 2021 From: Lee Jones Date: Fri, 26 Nov 2021 10:33:35 + Subject: staging: ion: Prevent incorrect reference counting behavour To: lee.jo...@linaro.org Cc: de...@driverdev.osuosl.org, a...@android.com, sta...@vger.kernel.org, riandr...@android.com, labb...@redhat.com, sumit.sem...@linaro.org, Dan Carpenter Message-ID: <20211126103335.880816-1-lee.jo...@linaro.org> From: Lee Jones Supply additional checks in order to prevent unexpected results. Fixes: b892bf75b2034 ("ion: Switch ion to use dma-buf") Suggested-by: Dan Carpenter Signed-off-by: Lee Jones Signed-off-by: Greg Kroah-Hartman --- drivers/staging/android/ion/ion.c |6 ++ 1 file changed, 6 insertions(+) --- a/drivers/staging/android/ion/ion.c +++ b/drivers/staging/android/ion/ion.c @@ -489,6 +489,9 @@ static void *ion_buffer_kmap_get(struct void *vaddr; if (buffer->kmap_cnt) { + if (buffer->kmap_cnt == INT_MAX) + return ERR_PTR(-EOVERFLOW); + buffer->kmap_cnt++; return buffer->vaddr; } @@ -509,6 +512,9 @@ static void *ion_handle_kmap_get(struct void *vaddr; if (handle->kmap_cnt) { + if (handle->kmap_cnt == INT_MAX) + return ERR_PTR(-EOVERFLOW); + handle->kmap_cnt++; return buffer->vaddr; } Patches currently in stable-queue which might be from lee.jo...@linaro.org are queue-4.9/staging-ion-prevent-incorrect-reference-counting-behavour.patch ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
[driver-core:driver-core-testing] BUILD SUCCESS 2043727c2882928a10161ddee52b196b7db402fd
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing branch HEAD: 2043727c2882928a10161ddee52b196b7db402fd driver core: platform: Make use of the helper function dev_err_probe() elapsed time: 720m configs tested: 54 configs skipped: 3 The following configs have been built successfully. More configs may be tested in the coming days. gcc tested configs: arm defconfig arm allyesconfig arm allmodconfig arm64 defconfig arm64allyesconfig ia64defconfig ia64 allmodconfig ia64 allyesconfig m68k allmodconfig m68kdefconfig m68k allyesconfig cskydefconfig alpha defconfig nds32 defconfig alphaallyesconfig nios2allyesconfig arc defconfig sh allmodconfig h8300allyesconfig xtensa allyesconfig parisc defconfig s390 allyesconfig s390 allmodconfig parisc allyesconfig s390defconfig i386 allyesconfig i386defconfig i386 debian-10.3-kselftests i386 debian-10.3 sparc defconfig sparcallyesconfig nds32 allnoconfig nios2 defconfig arc allyesconfig mips allmodconfig mips allyesconfig powerpc allnoconfig powerpc allmodconfig powerpc allyesconfig riscvnommu_k210_defconfig riscvallyesconfig riscvnommu_virt_defconfig riscv allnoconfig riscv defconfig riscv rv32_defconfig riscvallmodconfig um i386_defconfig um x86_64_defconfig x86_64 allyesconfig x86_64rhel-8.3-kselftests x86_64 defconfig x86_64 rhel-8.3 x86_64 rhel-8.3-func x86_64 kexec --- 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
RE; READ AND REPLY
Good Day, I have a business proposal for you and it's 100% legal. Barrister Andrew Tochaile. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
RE; READ AND REPLY
Good Day, I have a business proposal for you and it's 100% legal. Barrister Andrew Tochaile. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel