int rc; 
ssize_t rc; 
fs3270_write(struct file *filp, const char *data, size_t count, loff_t *off){	struct fs3270 *fp;	struct raw3270_request *rq;	struct idal_buffer *ib;	int write_command;	int rc;	fp = filp->private_data;	if (!fp)		return -ENODEV;	ib = idal_buffer_alloc(count, 0);	if (!ib)		return -ENOMEM;	rq = raw3270_request_alloc(0);	if (!IS_ERR(rq)) {		if (idal_buffer_from_user(ib, data, count) == 0) {			write_command = fp->write_command ? : 1;			if (write_command == 5)				write_command = 13;			raw3270_request_set_cmd(rq, write_command);			raw3270_request_set_idal(rq, ib);			rc = fs3270_do_io(&fp->view, rq);		} else			rc = -EFAULT;		raw3270_request_free(rq);	} else		rc = PTR_ERR(rq);	idal_buffer_free(ib);	return rc;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/ed3cb6f039bb296457bfd2877cba6ad0287d8d54/fs3270.c/buggy/drivers/s390/char/fs3270.c