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:   Mon, 6 Nov 2017 12:30:35 -0500
From:   Alex Deucher <alexdeucher@...il.com>
To:     Randy Dunlap <rdunlap@...radead.org>
Cc:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Linux-Next Mailing List <linux-next@...r.kernel.org>,
        amd-gfx list <amd-gfx@...ts.freedesktop.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        dri-devel <dri-devel@...ts.freedesktop.org>
Subject: Re: linux-next: Tree for Nov 6 (amdgpu_virt.c)

On Mon, Nov 6, 2017 at 12:20 PM, Randy Dunlap <rdunlap@...radead.org> wrote:
> On 11/05/2017 11:30 PM, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20171103:
>>
>
> on i386, when CONFIG_MODULES is not set:
>
>   CC      drivers/gpu/drm/amd/amdgpu/amdgpu_virt.o
> In file included from ../arch/x86/include/asm/atomic.h:5:0,
>                  from ../include/linux/atomic.h:5,
>                  from ../drivers/gpu/drm/amd/amdgpu/amdgpu.h:31,
>                  from ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:24:
> ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c: In function 'amdgpu_virt_init_data_exchange':
> ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:20: error: dereferencing pointer to incomplete type
>      if (THIS_MODULE->version != NULL)
>                     ^
> ../include/linux/compiler.h:58:30: note: in definition of macro '__trace_if'
>   if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
>                               ^
> ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:5: note: in expansion of macro 'if'
>      if (THIS_MODULE->version != NULL)
>      ^
> ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:20: error: dereferencing pointer to incomplete type
>      if (THIS_MODULE->version != NULL)
>                     ^
> ../include/linux/compiler.h:58:42: note: in definition of macro '__trace_if'
>   if (__builtin_constant_p(!!(cond)) ? !!(cond) :   \
>                                           ^
> ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:5: note: in expansion of macro 'if'
>      if (THIS_MODULE->version != NULL)
>      ^
> ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:20: error: dereferencing pointer to incomplete type
>      if (THIS_MODULE->version != NULL)
>                     ^
> ../include/linux/compiler.h:69:16: note: in definition of macro '__trace_if'
>    ______r = !!(cond);     \
>                 ^
> ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:331:5: note: in expansion of macro 'if'
>      if (THIS_MODULE->version != NULL)
>      ^
> ../drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c:332:29: error: dereferencing pointer to incomplete type
>       strcpy(str, THIS_MODULE->version);
>                              ^
> ../scripts/Makefile.build:314: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.o' failed
> make[5]: *** [drivers/gpu/drm/amd/amdgpu/amdgpu_virt.o] Error 1
>
>
>
> Reported-by: Randy Dunlap <rdunlap@...radead.org>

Thanks.  Fixed in:
https://cgit.freedesktop.org/~airlied/linux/commit/?h=drm-next&id=e477e940dad1836c6f6d23353e424665b9316b6e

Alex

Powered by blists - more mailing lists