The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Richard Knutsson <ricknu-0@student.ltu.se>
To: Joe Perches <joe@perches.com>
Cc: akpm@linux-foundation.org, davej@redhat.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers/char/agp: Convert to generic boolean
Date: Sun, 18 Mar 2007 02:52:20 +0100	[thread overview]
Message-ID: <45FC9B54.4080209@student.ltu.se> (raw)
In-Reply-To: <1174178837.15270.13.camel@localhost>

Please use "Reply All"

Joe Perches wrote:
> On Sun, 2007-03-18 at 00:45 +0100, Richard Knutsson wrote:
>   
>> diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c
>> index e6c534e..3d57e9f 100644
>> --- a/drivers/char/agp/amd-k7-agp.c
>> +++ b/drivers/char/agp/amd-k7-agp.c
>> @@ -308,9 +308,9 @@ static int amd_insert_memory(struct agp_memory *mem, off_t pg_start, int type)
>>  		j++;
>>  	}
>>  
>> -	if (mem->is_flushed == FALSE) {
>> +	if (!mem->is_flushed) {
>>  		global_cache_flush();
>> -		mem->is_flushed = TRUE;
>> +		mem->is_flushed = true;
>>  	}
>>     
>
> perhaps a generic.c / agp.h function?
>   
Sound like a good idea (not in a boolean cleanup-patch thou)
Would you mind making that patch?

Richard Knutsson


      parent reply	other threads:[~2007-03-18  1:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-17 23:45 [PATCH] drivers/char/agp: Convert to generic boolean Richard Knutsson
     [not found] ` <1174178837.15270.13.camel@localhost>
2007-03-18  1:52   ` Richard Knutsson [this message]

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=45FC9B54.4080209@student.ltu.se \
    --to=ricknu-0@student.ltu.se \
    --cc=akpm@linux-foundation.org \
    --cc=davej@redhat.com \
    --cc=joe@perches.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