* [KJ] linux-2.6.15.4/drivers/i2c/busses/i2c-piix4.c: EPERM->EACCES
@ 2006-02-25 12:32 walter harms
0 siblings, 0 replies; only message in thread
From: walter harms @ 2006-02-25 12:32 UTC (permalink / raw)
To: kernel-janitors
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-25 12:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-25 12:32 [KJ] linux-2.6.15.4/drivers/i2c/busses/i2c-piix4.c: EPERM->EACCES walter harms
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.