From: Peter Chubb <peter@chubb.wattle.id.au>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] A comment on the 2.5.29 patch
Date: Thu, 08 Aug 2002 03:38:03 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590701905922@msgid-missing> (raw)
Hi David,
The change to drivers/char/mem.c doesn't look right --- it forces a
successful system call even when there's been an error.
--- a/drivers/char/mem.c Thu Aug 1 01:08:13 2002
+++ b/drivers/char/mem.c Thu Aug 1 01:08:13 2002
@@ -518,6 +518,7 @@
default:
ret = -EINVAL;
}
+ force_successful_syscall_return();
unlock_kernel();
return ret;
}
Surely that should only be when ret != -EINVAL ??? You could move it
inside the switch, although that's ugly.
I can't see the point of moving the declaration of extern irq_desc_t
irq_desc [NR_IRQS]; from include/linux/irq.h into asm-i386/hw_irq.,
and adding the struct tag to irq_desc_t. There maybe somthing I've
misunderstood here, but couldn't the SN1 code just populate the global
irq_desc[] array correctly, rather than using its own? (It probably
need to be replicated to each NUMA group)
And my remaining comment is that I'm not sure why the changes to the
softirq() names were made. A rose by any name would smell as sweet...
--
Dr Peter Chubb peterc@gelato.unsw.edu.au
You are lost in a maze of BitKeeper repositories, all almost the same.
reply other threads:[~2002-08-08 3:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=marc-linux-ia64-105590701905922@msgid-missing \
--to=peter@chubb.wattle.id.au \
--cc=linux-ia64@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