static ssize_t scanlog_write(struct file * file, const char * buf, 
static ssize_t scanlog_write(struct file * file, const char __user * buf, 
static ssize_t scanlog_write(struct file * file, const char * buf,			     size_t count, loff_t *ppos){	char stkbuf[20];	int status;	if (count > 19) count = 19;	if (copy_from_user (stkbuf, buf, count)) {		return -EFAULT;	}	stkbuf[count] = 0;	if (buf) {		if (strncmp(stkbuf, "reset", 5) == 0) {			DEBUG("reset scanlog\n");			status = rtas_call(ibm_scan_log_dump, 2, 1, NULL, 0, 0);			DEBUG("rtas returns %d\n", status);		} else if (strncmp(stkbuf, "debugon", 7) == 0) {			printk(KERN_ERR "scanlog: debug on\n");			scanlog_debug = 1;		} else if (strncmp(stkbuf, "debugoff", 8) == 0) {			printk(KERN_ERR "scanlog: debug off\n");			scanlog_debug = 0;		}	}	return count;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/efa545791ff439d778f79d02255d59ff1f7ea0fc/scanlog.c/clean/arch/ppc64/kernel/scanlog.c