From: walter harms <wharms@bfs.de>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] linux-2.6.15.4/drivers/i2c/busses/i2c-piix4.c: EPERM->EACCES
Date: Sat, 25 Feb 2006 12:32:37 +0000 [thread overview]
Message-ID: <44004E65.8030706@bfs.de> (raw)
Hi list,
it was noticed that some driver return EPERM.
EPERM indicates no enought privilege to access a function.
This will fixit an return (i hope) a 'better' error msg.
re,
walter
Signed-off-by: walter harms <wharms@bfs.de>
--- linux-2.6.15.4/drivers/i2c/busses/i2c-piix4.c.bak 2006-02-25
13:18:48.000000000 +0100
+++ linux-2.6.15.4/drivers/i2c/busses/i2c-piix4.c 2006-02-25
13:21:58.000000000 +0100
@@ -140,7 +140,7 @@
dev_err(&PIIX4_dev->dev, "IBM Laptop detected; this module "
"may corrupt your serial eeprom! Refusing to load "
"module!\n");
- return -EPERM;
+ return -EACCES;
}
/* Determine the address of the SMBus areas */
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
reply other threads:[~2006-02-25 12:32 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=44004E65.8030706@bfs.de \
--to=wharms@bfs.de \
--cc=kernel-janitors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.