From: Christoph Hellwig <hch@infradead.org>
To: Dave Airlie <airlied@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>,
Jon Smirl <jonsmirl@gmail.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH} Trivial - fix drm_agp symbol export
Date: Sat, 23 Oct 2004 15:33:09 +0100 [thread overview]
Message-ID: <20041023143309.GA32417@infradead.org> (raw)
In-Reply-To: <21d7e99704102307287a08247@mail.gmail.com>
On Sun, Oct 24, 2004 at 12:28:18AM +1000, Dave Airlie wrote:
> >
> > Sorry, wrong API. At least export the individual functions and use them
> > directly (and without the symbol_get abnomination that's not any better
> > than inter_module_*).
>
> I wonder what the reasoning behind the old drm_agp structure was in
> the first place?
>
> What about this patch?
The patch looks good to me, I really like the reduced complexity.
Some minor nitpicks below:
+ if (!(head = DRM(alloc)(sizeof(*head), DRM_MEM_AGPLISTS)))
+ return NULL;
+ memset((void *)head, 0, sizeof(*head));
no need to cast to void * here
@@ -428,41 +409,37 @@
*/
void DRM(agp_uninit)(void)
{
- DRM_AGP_PUT;
- drm_agp = NULL;
}
is the function needed by BSD? Else it should probably go away completely.
next prev parent reply other threads:[~2004-10-23 14:33 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-23 4:45 Jon Smirl
2004-10-23 9:56 ` Christoph Hellwig
2004-10-23 14:28 ` Dave Airlie
2004-10-23 14:33 ` Christoph Hellwig [this message]
2004-10-23 18:13 ` Jon Smirl
2004-10-23 14:35 ` Jon Smirl
2004-10-23 14:39 ` Christoph Hellwig
2004-10-23 14:44 ` Jon Smirl
2004-10-23 14:48 ` Dave Airlie
2004-10-23 14:54 ` Jon Smirl
2004-10-23 15:00 ` Dave Airlie
2004-10-23 14:46 ` Arjan van de Ven
2004-10-23 18:22 ` Jon Smirl
2004-11-01 6:01 ` Rusty Russell
2004-11-01 6:37 ` Jon Smirl
2004-11-01 7:41 ` Dave Airlie
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=20041023143309.GA32417@infradead.org \
--to=hch@infradead.org \
--cc=airlied@gmail.com \
--cc=jonsmirl@gmail.com \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome