rob at sysgo.de said: > OK, so we all finally agree that BUG() is the way to go (rather than > returning -EINVAL. Right ? As long as you make sure you can't trigger the BUG() from the mtdchar ioctl() routine, yes. -- dwmw2