public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Bolle <pebolle@tiscali.nl>
To: "Christian König" <christian.koenig@amd.com>,
	"Alex Deucher" <alexander.deucher@amd.com>
Cc: Dave Airlie <airlied@linux.ie>,
	torvalds@linux-foundation.org, dri-devel@lists.freedesktop.org,
	linux-kernel@vger.kernel.org
Subject: Re: [git pull] drm next tree
Date: Thu, 30 Jan 2014 13:33:32 +0100	[thread overview]
Message-ID: <1391085212.5170.9.camel@x41> (raw)
In-Reply-To: <alpine.DEB.2.00.1401300249130.13810@skynet.skynet.ie>

Dave Airlie schreef op do 30-01-2014 om 02:49 [+0000]:
> Christian König (10):
>       [...]
>       drm/radeon: add GART debugfs access v3
>       [...]

That one generates a bit of (warning) noise when building on 32 bits
x86:

In file included from include/asm-generic/bug.h:13:0,
                 from [...]/linux/arch/x86/include/asm/bug.h:38,
                 from include/linux/bug.h:4,
                 from include/drm/drm_mm.h:39,
                 from include/drm/drm_vma_manager.h:26,
                 from include/drm/ttm/ttm_bo_api.h:35,
                 from drivers/gpu/drm/radeon/radeon_ttm.c:32:
drivers/gpu/drm/radeon/radeon_ttm.c: In function 'radeon_ttm_gtt_read':
include/linux/kernel.h:712:17: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void) (&_min1 == &_min2);  \
                 ^
drivers/gpu/drm/radeon/radeon_ttm.c:938:22: note: in expansion of macro 'min'
   ssize_t cur_size = min(size, PAGE_SIZE - off);
                      ^

I suppose the last line should read
   ssize_t cur_size = min(size, (size_t) PAGE_SIZE - off);

to silence this. But I haven't tested yet.


Paul Bolle


  parent reply	other threads:[~2014-01-30 12:33 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-30  2:49 [git pull] drm next tree Dave Airlie
2014-01-30  4:54 ` Linus Torvalds
2014-01-30 12:33 ` Paul Bolle [this message]
2014-02-20 21:02   ` [PATCH] drm/radeon: silence GCC warning on 32 bit Paul Bolle
2014-02-20 21:07     ` Ilia Mirkin
2014-02-20 21:24       ` Paul Bolle
2014-02-21  8:20         ` Thierry Reding
2014-03-04  9:34           ` [PATCH v2] " Paul Bolle
2014-03-04 11:42             ` Christian König
2014-03-04 14:52             ` Alex Deucher
2014-01-30 15:55 ` [git pull] drm next tree Jiri Kosina
2014-02-07 10:08   ` Jiri Kosina
2014-02-07 11:10     ` Jani Nikula
2014-02-07 13:40       ` Jiri Kosina
2014-02-07 14:05         ` Daniel Vetter
2014-02-07 14:15           ` Jiri Kosina
  -- strict thread matches above, loose matches on Subject: below --
2011-03-17  4:09 Dave Airlie
2011-03-23  2:19 ` Linus Torvalds
2011-03-23 12:21   ` Stephen Clark
2011-03-23 14:39     ` Jerome Glisse
2011-03-23 15:22     ` Jesse Barnes
2011-03-23 14:22   ` Alessandro Suardi
2011-03-23 15:29   ` Linus Torvalds
2011-03-23 15:33     ` Jesse Barnes
2011-03-24  0:54       ` Linus Torvalds

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=1391085212.5170.9.camel@x41 \
    --to=pebolle@tiscali.nl \
    --cc=airlied@linux.ie \
    --cc=alexander.deucher@amd.com \
    --cc=christian.koenig@amd.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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