lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 19 Apr 2017 11:08:41 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Logan Gunthorpe <logang@...tatee.com>
Cc:     kbuild-all@...org, linux-kernel@...r.kernel.org,
        intel-gfx@...ts.freedesktop.org, linux-media@...r.kernel.org,
        dri-devel@...ts.freedesktop.org, linux-tegra@...r.kernel.org,
        devel@...verdev.osuosl.org, David Airlie <airlied@...ux.ie>,
        Thierry Reding <thierry.reding@...il.com>,
        Arve Hjønnevåg <arve@...roid.com>,
        Daniel Vetter <daniel.vetter@...el.com>,
        Sumit Semwal <sumit.semwal@...aro.org>,
        Marek Szyprowski <m.szyprowski@...sung.com>,
        Alexandre Courbot <gnurou@...il.com>,
        Thomas Hellstrom <thellstrom@...are.com>,
        Sinclair Yeh <syeh@...are.com>,
        Russell King <linux@...linux.org.uk>,
        Christoph Hellwig <hch@....de>,
        Tomi Valkeinen <tomi.valkeinen@...com>,
        VMware Graphics <linux-graphics-maintainer@...are.com>,
        Laura Abbott <labbott@...hat.com>,
        Pawel Osciak <pawel@...iak.com>,
        Stephen Warren <swarren@...dotorg.org>,
        Riley Andrews <riandrews@...roid.com>,
        Mauro Carvalho Chehab <mchehab@...nel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Kyungmin Park <kyungmin.park@...sung.com>,
        Logan Gunthorpe <logang@...tatee.com>
Subject: Re: [Intel-gfx] [PATCH] dma-buf: Rename dma-ops to prevent conflict
 with kunmap_atomic macro

Hi Logan,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc7 next-20170418]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Logan-Gunthorpe/dma-buf-Rename-dma-ops-to-prevent-conflict-with-kunmap_atomic-macro/20170419-082521
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/tegra/gem.c:115:2: error: unknown field 'map' specified in initializer
     .map = tegra_bo_kmap,
     ^
>> drivers/gpu/drm/tegra/gem.c:116:2: error: unknown field 'unmap' specified in initializer
     .unmap = tegra_bo_kunmap,
     ^
>> drivers/gpu/drm/tegra/gem.c:622:2: error: unknown field 'kmap_atomic' specified in initializer
     .kmap_atomic = tegra_gem_prime_kmap_atomic,
     ^
>> drivers/gpu/drm/tegra/gem.c:622:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .kmap_atomic = tegra_gem_prime_kmap_atomic,
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/tegra/gem.c:622:17: note: (near initialization for 'tegra_gem_prime_dmabuf_ops.begin_cpu_access')
>> drivers/gpu/drm/tegra/gem.c:623:2: error: unknown field 'kunmap_atomic' specified in initializer
     .kunmap_atomic = tegra_gem_prime_kunmap_atomic,
     ^
   drivers/gpu/drm/tegra/gem.c:623:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .kunmap_atomic = tegra_gem_prime_kunmap_atomic,
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/tegra/gem.c:623:19: note: (near initialization for 'tegra_gem_prime_dmabuf_ops.end_cpu_access')
>> drivers/gpu/drm/tegra/gem.c:624:2: error: unknown field 'kmap' specified in initializer
     .kmap = tegra_gem_prime_kmap,
     ^
>> drivers/gpu/drm/tegra/gem.c:625:2: error: unknown field 'kunmap' specified in initializer
     .kunmap = tegra_gem_prime_kunmap,
     ^
   cc1: some warnings being treated as errors

vim +/map +115 drivers/gpu/drm/tegra/gem.c

   109		.get = tegra_bo_get,
   110		.put = tegra_bo_put,
   111		.pin = tegra_bo_pin,
   112		.unpin = tegra_bo_unpin,
   113		.mmap = tegra_bo_mmap,
   114		.munmap = tegra_bo_munmap,
 > 115		.map = tegra_bo_kmap,
 > 116		.unmap = tegra_bo_kunmap,
   117	};
   118	
   119	static int tegra_bo_iommu_map(struct tegra_drm *tegra, struct tegra_bo *bo)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (34503 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ