* next-20160518 build: 2 failures 20 warnings (next-20160518)
@ 2016-05-18 7:05 Build bot for Mark Brown
2016-05-18 10:15 ` Mark Brown
0 siblings, 1 reply; 4+ messages in thread
From: Build bot for Mark Brown @ 2016-05-18 7:05 UTC (permalink / raw)
To: kernel-build-reports, linaro-kernel, linux-next
Tree/Branch: next-20160518
Git describe: next-20160518
Commit: 621a2a0fb6 Add linux-next specific files for 20160518
Build Time: 68 min 57 sec
Passed: 7 / 9 ( 77.78 %)
Failed: 2 / 9 ( 22.22 %)
Errors: 4
Warnings: 20
Section Mismatches: 0
Failed defconfigs:
arm64-allmodconfig
arm-allmodconfig
Errors:
arm64-allmodconfig
../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:8: error: too many arguments to function 'drm_gem_object_lookup'
../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:8: error: too many arguments to function 'drm_gem_object_lookup'
arm-allmodconfig
../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:8: error: too many arguments to function 'drm_gem_object_lookup'
../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:8: error: too many arguments to function 'drm_gem_object_lookup'
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
1 warnings 0 mismatches : arm64-allnoconfig
18 warnings 0 mismatches : arm64-allmodconfig
2 warnings 0 mismatches : arm-multi_v5_defconfig
4 warnings 0 mismatches : arm-multi_v7_defconfig
2 warnings 0 mismatches : x86_64-defconfig
9 warnings 0 mismatches : arm-allmodconfig
1 warnings 0 mismatches : arm-allnoconfig
1 warnings 0 mismatches : x86_64-allnoconfig
3 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 4
2 ../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:8: error: too many arguments to function 'drm_gem_object_lookup'
2 ../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
2 ../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:8: error: too many arguments to function 'drm_gem_object_lookup'
2 ../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
Warnings Summary: 20
6 ../fs/ext4/inode.c:3502:9: warning: unused variable 'offset' [-Wunused-variable]
6 ../fs/block_dev.c:1244:13: warning: 'blkdev_dax_capable' defined but not used [-Wunused-function]
3 ../mm/page_alloc.c:3658:5: warning: 'compact_result' may be used uninitialized in this function [-Wmaybe-uninitialized]
3 ../drivers/gpu/drm/nouveau/nv50_display.c:1308:21: warning: unused variable 'dev' [-Wunused-variable]
3 ../drivers/gpu/drm/nouveau/nouveau_gem.c:371:21: warning: unused variable 'dev' [-Wunused-variable]
2 ../drivers/xen/balloon.c:154:13: warning: 'release_memory_resource' declared 'static' but never defined [-Wunused-function]
2 ../drivers/pinctrl/stm32/pinctrl-stm32.c:797:17: warning: too many arguments for format [-Wformat-extra-args]
2 ../drivers/gpu/drm/radeon/radeon_cs.c:77:21: warning: unused variable 'ddev' [-Wunused-variable]
2 ../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:35: warning: passing argument 2 of 'drm_gem_object_lookup' makes integer from pointer without a cast [-Wint-conversion]
2 ../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:35: warning: passing argument 2 of 'drm_gem_object_lookup' makes integer from pointer without a cast [-Wint-conversion]
1 ../include/soc/nps/common.h:162:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../include/soc/nps/common.h:148:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../fs/reiserfs/ibalance.c:1156:2: warning: 'new_insert_key' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../fs/gfs2/dir.c:802:9: warning: 'leaf_no' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../fs/gfs2/dir.c:1021:8: warning: 'leaf_no' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../drivers/staging/iio/adc/ad7606_spi.c:24:18: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../drivers/soc/mediatek/mtk-pmic-wrap.c:1086:16: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/soc/mediatek/mtk-pmic-wrap.c:1074:16: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/soc/mediatek/mtk-pmic-wrap.c:1062:16: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 ../drivers/gpu/drm/armada/armada_crtc.c:900:21: warning: unused variable 'dev' [-Wunused-variable]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
../mm/page_alloc.c:3658:5: warning: 'compact_result' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 4 errors, 18 warnings, 0 section mismatches
Errors:
../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:8: error: too many arguments to function 'drm_gem_object_lookup'
../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:8: error: too many arguments to function 'drm_gem_object_lookup'
Warnings:
../fs/block_dev.c:1244:13: warning: 'blkdev_dax_capable' defined but not used [-Wunused-function]
../fs/ext4/inode.c:3502:9: warning: unused variable 'offset' [-Wunused-variable]
../fs/gfs2/dir.c:802:9: warning: 'leaf_no' may be used uninitialized in this function [-Wmaybe-uninitialized]
../fs/gfs2/dir.c:1021:8: warning: 'leaf_no' may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:35: warning: passing argument 2 of 'drm_gem_object_lookup' makes integer from pointer without a cast [-Wint-conversion]
../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:35: warning: passing argument 2 of 'drm_gem_object_lookup' makes integer from pointer without a cast [-Wint-conversion]
../drivers/gpu/drm/radeon/radeon_cs.c:77:21: warning: unused variable 'ddev' [-Wunused-variable]
../fs/reiserfs/ibalance.c:1156:2: warning: 'new_insert_key' may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/gpu/drm/nouveau/nouveau_gem.c:371:21: warning: unused variable 'dev' [-Wunused-variable]
../drivers/gpu/drm/nouveau/nv50_display.c:1308:21: warning: unused variable 'dev' [-Wunused-variable]
../include/soc/nps/common.h:148:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../include/soc/nps/common.h:162:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/pinctrl/stm32/pinctrl-stm32.c:797:17: warning: too many arguments for format [-Wformat-extra-args]
../drivers/soc/mediatek/mtk-pmic-wrap.c:1062:16: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/soc/mediatek/mtk-pmic-wrap.c:1074:16: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/soc/mediatek/mtk-pmic-wrap.c:1086:16: warning: large integer implicitly truncated to unsigned type [-Woverflow]
../drivers/staging/iio/adc/ad7606_spi.c:24:18: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized]
../drivers/xen/balloon.c:154:13: warning: 'release_memory_resource' declared 'static' but never defined [-Wunused-function]
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../fs/block_dev.c:1244:13: warning: 'blkdev_dax_capable' defined but not used [-Wunused-function]
../fs/ext4/inode.c:3502:9: warning: unused variable 'offset' [-Wunused-variable]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
../fs/block_dev.c:1244:13: warning: 'blkdev_dax_capable' defined but not used [-Wunused-function]
../fs/ext4/inode.c:3502:9: warning: unused variable 'offset' [-Wunused-variable]
../drivers/gpu/drm/nouveau/nouveau_gem.c:371:21: warning: unused variable 'dev' [-Wunused-variable]
../drivers/gpu/drm/nouveau/nv50_display.c:1308:21: warning: unused variable 'dev' [-Wunused-variable]
-------------------------------------------------------------------------------
x86_64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../fs/block_dev.c:1244:13: warning: 'blkdev_dax_capable' defined but not used [-Wunused-function]
../fs/ext4/inode.c:3502:9: warning: unused variable 'offset' [-Wunused-variable]
-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 4 errors, 9 warnings, 0 section mismatches
Errors:
../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:8: error: too many arguments to function 'drm_gem_object_lookup'
../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:8: error: too many arguments to function 'drm_gem_object_lookup'
Warnings:
../fs/block_dev.c:1244:13: warning: 'blkdev_dax_capable' defined but not used [-Wunused-function]
../fs/ext4/inode.c:3502:9: warning: unused variable 'offset' [-Wunused-variable]
../drivers/gpu/drm/armada/armada_crtc.c:900:21: warning: unused variable 'dev' [-Wunused-variable]
../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:35: warning: passing argument 2 of 'drm_gem_object_lookup' makes integer from pointer without a cast [-Wint-conversion]
../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:35: warning: passing argument 2 of 'drm_gem_object_lookup' makes integer from pointer without a cast [-Wint-conversion]
../drivers/gpu/drm/radeon/radeon_cs.c:77:21: warning: unused variable 'ddev' [-Wunused-variable]
../drivers/gpu/drm/nouveau/nouveau_gem.c:371:21: warning: unused variable 'dev' [-Wunused-variable]
../drivers/gpu/drm/nouveau/nv50_display.c:1308:21: warning: unused variable 'dev' [-Wunused-variable]
../drivers/pinctrl/stm32/pinctrl-stm32.c:797:17: warning: too many arguments for format [-Wformat-extra-args]
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
../mm/page_alloc.c:3658:5: warning: 'compact_result' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-allnoconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
../mm/page_alloc.c:3658:5: warning: 'compact_result' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
../fs/block_dev.c:1244:13: warning: 'blkdev_dax_capable' defined but not used [-Wunused-function]
../fs/ext4/inode.c:3502:9: warning: unused variable 'offset' [-Wunused-variable]
../drivers/xen/balloon.c:154:13: warning: 'release_memory_resource' declared 'static' but never defined [-Wunused-function]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: next-20160518 build: 2 failures 20 warnings (next-20160518)
2016-05-18 7:05 next-20160518 build: 2 failures 20 warnings (next-20160518) Build bot for Mark Brown
@ 2016-05-18 10:15 ` Mark Brown
2016-05-18 10:23 ` Chris Wilson
0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2016-05-18 10:15 UTC (permalink / raw)
To: Daniel Vetter, Chris Wilson, Dave Airlie, Jie Qiu, CK Hu
Cc: kernel-build-reports, linaro-kernel, linux-next, dri-devel
[-- Attachment #1: Type: text/plain, Size: 924 bytes --]
On Wed, May 18, 2016 at 08:05:26AM +0100, Build bot for Mark Brown wrote:
Today's -next fails to build arm and arm64 allmodconfigs fail to build
due to:
> arm64-allmodconfig
> arm-allmodconfig
> ../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
> ../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:8: error: too many arguments to function 'drm_gem_object_lookup'
> ../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
> ../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:8: error: too many arguments to function 'drm_gem_object_lookup'
Apparently triggered by 8ad0bd84f98607 (drm: Remove unused drm_device
from drm_gem_object_lookup()) which didn't update the Mediatek drivers.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: next-20160518 build: 2 failures 20 warnings (next-20160518)
2016-05-18 10:15 ` Mark Brown
@ 2016-05-18 10:23 ` Chris Wilson
2016-05-19 0:00 ` Stephen Rothwell
0 siblings, 1 reply; 4+ messages in thread
From: Chris Wilson @ 2016-05-18 10:23 UTC (permalink / raw)
To: Mark Brown
Cc: linaro-kernel, Jie Qiu, kernel-build-reports, Daniel Vetter,
dri-devel, linux-next, Dave Airlie
On Wed, May 18, 2016 at 11:15:59AM +0100, Mark Brown wrote:
> On Wed, May 18, 2016 at 08:05:26AM +0100, Build bot for Mark Brown wrote:
>
> Today's -next fails to build arm and arm64 allmodconfigs fail to build
> due to:
>
> > arm64-allmodconfig
> > arm-allmodconfig
> > ../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
> > ../drivers/gpu/drm/mediatek/mtk_drm_fb.c:141:8: error: too many arguments to function 'drm_gem_object_lookup'
> > ../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:30: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types]
> > ../drivers/gpu/drm/mediatek/mtk_drm_gem.c:142:8: error: too many arguments to function 'drm_gem_object_lookup'
>
> Apparently triggered by 8ad0bd84f98607 (drm: Remove unused drm_device
> from drm_gem_object_lookup()) which didn't update the Mediatek drivers.
I'm pretty sure they didn't exist when I wrote the patch!
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_fb.c b/drivers/gpu/drm/mediatek/mtk_drm_fb.c
index 33d30c19f35f..147df85399ab 100644
--- a/drivers/gpu/drm/mediatek/mtk_drm_fb.c
+++ b/drivers/gpu/drm/mediatek/mtk_drm_fb.c
@@ -138,7 +138,7 @@ struct drm_framebuffer *mtk_drm_mode_fb_create(struct drm_device *dev,
if (drm_format_num_planes(cmd->pixel_format) != 1)
return ERR_PTR(-EINVAL);
- gem = drm_gem_object_lookup(dev, file, cmd->handles[0]);
+ gem = drm_gem_object_lookup(file, cmd->handles[0]);
if (!gem)
return ERR_PTR(-ENOENT);
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_gem.c b/drivers/gpu/drm/mediatek/mtk_drm_gem.c
index a773bfaea913..fa2ec0cd00e8 100644
--- a/drivers/gpu/drm/mediatek/mtk_drm_gem.c
+++ b/drivers/gpu/drm/mediatek/mtk_drm_gem.c
@@ -139,7 +139,7 @@ int mtk_drm_gem_dumb_map_offset(struct drm_file *file_priv,
struct drm_gem_object *obj;
int ret;
- obj = drm_gem_object_lookup(dev, file_priv, handle);
+ obj = drm_gem_object_lookup(file_priv, handle);
if (!obj) {
DRM_ERROR("failed to lookup gem object.\n");
return -EINVAL;
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: next-20160518 build: 2 failures 20 warnings (next-20160518)
2016-05-18 10:23 ` Chris Wilson
@ 2016-05-19 0:00 ` Stephen Rothwell
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2016-05-19 0:00 UTC (permalink / raw)
To: Chris Wilson
Cc: Mark Brown, Daniel Vetter, Dave Airlie, Jie Qiu, CK Hu,
kernel-build-reports, linaro-kernel, linux-next, dri-devel
Hi Chris,
On Wed, 18 May 2016 11:23:57 +0100 Chris Wilson <chris@chris-wilson.co.uk> wrote:
>
> I'm pretty sure they didn't exist when I wrote the patch!
Yeah, but they do in the drm-misc tree where your patch was applied ...
so someone should do a fix patch to be applied to that tree. In the
mean time, I will apply the below as a merge fix in linux-next.
> diff --git a/drivers/gpu/drm/mediatek/mtk_drm_fb.c b/drivers/gpu/drm/mediatek/mtk_drm_fb.c
> index 33d30c19f35f..147df85399ab 100644
> --- a/drivers/gpu/drm/mediatek/mtk_drm_fb.c
> +++ b/drivers/gpu/drm/mediatek/mtk_drm_fb.c
> @@ -138,7 +138,7 @@ struct drm_framebuffer *mtk_drm_mode_fb_create(struct drm_device *dev,
> if (drm_format_num_planes(cmd->pixel_format) != 1)
> return ERR_PTR(-EINVAL);
>
> - gem = drm_gem_object_lookup(dev, file, cmd->handles[0]);
> + gem = drm_gem_object_lookup(file, cmd->handles[0]);
> if (!gem)
> return ERR_PTR(-ENOENT);
>
> diff --git a/drivers/gpu/drm/mediatek/mtk_drm_gem.c b/drivers/gpu/drm/mediatek/mtk_drm_gem.c
> index a773bfaea913..fa2ec0cd00e8 100644
> --- a/drivers/gpu/drm/mediatek/mtk_drm_gem.c
> +++ b/drivers/gpu/drm/mediatek/mtk_drm_gem.c
> @@ -139,7 +139,7 @@ int mtk_drm_gem_dumb_map_offset(struct drm_file *file_priv,
> struct drm_gem_object *obj;
> int ret;
>
> - obj = drm_gem_object_lookup(dev, file_priv, handle);
> + obj = drm_gem_object_lookup(file_priv, handle);
> if (!obj) {
> DRM_ERROR("failed to lookup gem object.\n");
> return -EINVAL;
--
Cheers,
Stephen Rothwell
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-05-19 0:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-18 7:05 next-20160518 build: 2 failures 20 warnings (next-20160518) Build bot for Mark Brown
2016-05-18 10:15 ` Mark Brown
2016-05-18 10:23 ` Chris Wilson
2016-05-19 0:00 ` Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).