From: Paul Menzel <paulepanter@users.sourceforge.net>
To: Huacai Chen <chenhuacai@gmail.com>
Cc: "David Airlie" <airlied@linux.ie>,
"Michel Dänzer" <michel@daenzer.net>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
"Hongliang Tao" <taohl@lemote.com>,
"Fuxin Zhang" <zhangfx@lemote.com>,
"Huacai Chen" <chenhc@lemote.com>, "Hua Yan" <yanh@lemote.com>
Subject: Re: [PATCH] drm/radeon: Include swiotlb.h if SWIOTLB configured.
Date: Mon, 13 Aug 2012 09:00:59 +0200 [thread overview]
Message-ID: <1344841259.4126.4.camel@mattotaupa> (raw)
In-Reply-To: <1344823753-28780-1-git-send-email-chenhc@lemote.com>
[-- Attachment #1: Type: text/plain, Size: 1739 bytes --]
Dear Chen,
thanks for your patch.
Firstly, is Chen your first or last name? If it is your first name, your
From address should be switched.
Am Montag, den 13.08.2012, 10:09 +0800 schrieb Huacai Chen:
> When SWIOTLB is configured, if without this patch kernel compilation
> fails.
Secondly, could you please always paste part of the error message into
the commit message so that people hitting this problem and searching for
it on the WWW have a higher chance finding your patch.
Thirdly, do you know why this was not caught beforehand and compilation
worked before?
> Signed-off-by: Huacai Chen <chenhc@lemote.com>
Lastly, the addresses in your From line and Signed-off-by line disagree.
You can easily fix that, by adding
From: Huacai Chen <chenhc@lemote.com>
to the beginning of your message.
> Signed-off-by: Hongliang Tao <taohl@lemote.com>
> Signed-off-by: Hua Yan <yanh@lemote.com>
> Cc: dri-devel@lists.freedesktop.org
> ---
> drivers/gpu/drm/radeon/radeon_ttm.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c
> index 5b71c71..fc3ac22 100644
> --- a/drivers/gpu/drm/radeon/radeon_ttm.c
> +++ b/drivers/gpu/drm/radeon/radeon_ttm.c
> @@ -41,6 +41,10 @@
> #include "radeon_reg.h"
> #include "radeon.h"
>
> +#ifdef CONFIG_SWIOTLB
> +#include <linux/swiotlb.h>
> +#endif
> +
> #define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT)
>
> static int radeon_ttm_debugfs_init(struct radeon_device *rdev);
With the clarification above
Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
can be added to your patch.
Thanks,
Paul
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-08-13 7:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-13 2:09 Huacai Chen
2012-08-13 7:00 ` Paul Menzel [this message]
2012-08-13 7:16 ` Huacai Chen
2012-08-13 7:50 ` Paul Menzel
2012-08-13 8:04 ` Huacai Chen
2012-08-13 9:11 ` Paul Menzel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1344841259.4126.4.camel@mattotaupa \
--to=paulepanter@users.sourceforge.net \
--cc=airlied@linux.ie \
--cc=chenhc@lemote.com \
--cc=chenhuacai@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michel@daenzer.net \
--cc=taohl@lemote.com \
--cc=yanh@lemote.com \
--cc=zhangfx@lemote.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®