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] [day] [month] [year] [list]
Message-ID: <510EDD85.60909@canonical.com>
Date:	Sun, 03 Feb 2013 22:58:29 +0100
From:	Maarten Lankhorst <maarten.lankhorst@...onical.com>
To:	Chris Metcalf <cmetcalf@...era.com>
CC:	linux-kernel@...r.kernel.org, David Airlie <airlied@...ux.ie>,
	Ben Skeggs <bskeggs@...hat.com>,
	Dave Airlie <airlied@...hat.com>,
	Thomas Hellstrom <thellstrom@...are.com>,
	Alex Deucher <alexander.deucher@....com>,
	Jerome Glisse <jglisse@...hat.com>,
	Christian Konig <deathsimple@...afone.de>,
	dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH] drm: fix compile failure by including <linux/swiotlb.h>

Op 01-02-13 19:44, Chris Metcalf schreef:
> On tile architecture (with "make allyesconfig") including
> <linux/swiotlb.h> is required to call swiotlb_nr_tbl().
I'll take your word for the need, since I lack the hardware to verify the failure. :-)
Applying your patch doesn't seem to break compilation on x86 though, which is good enough for me.

Acked-by: Maarten Lankhorst <maarten.lankhorst@...onical.com>
> Signed-off-by: Chris Metcalf <cmetcalf@...era.com>
> ---
>  drivers/gpu/drm/nouveau/nouveau_bo.c |    1 +
>  drivers/gpu/drm/radeon/radeon_ttm.c  |    1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c
> index 69d7b1d..1699a90 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_bo.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c
> @@ -28,6 +28,7 @@
>   */
>  
>  #include <core/engine.h>
> +#include <linux/swiotlb.h>
>  
>  #include <subdev/fb.h>
>  #include <subdev/vm.h>
> diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c
> index 1d8ff2f..93f760e 100644
> --- a/drivers/gpu/drm/radeon/radeon_ttm.c
> +++ b/drivers/gpu/drm/radeon/radeon_ttm.c
> @@ -38,6 +38,7 @@
>  #include <drm/radeon_drm.h>
>  #include <linux/seq_file.h>
>  #include <linux/slab.h>
> +#include <linux/swiotlb.h>
>  #include "radeon_reg.h"
>  #include "radeon.h"
>  
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ