qeth_dev_portname_store(struct device *dev, const char *buf, size_t count) 
qeth_dev_portname_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) 
qeth_dev_portname_store(struct device *dev, const char *buf, size_t count){	struct qeth_card *card = dev->driver_data;	char *tmp;	int i;	if (!card)		return -EINVAL;	if ((card->state != CARD_STATE_DOWN) &&	    (card->state != CARD_STATE_RECOVER))		return -EPERM;	tmp = strsep((char **) &buf, "\n");	if ((strlen(tmp) > 8) || (strlen(tmp) < 2))		return -EINVAL;	card->info.portname[0] = strlen(tmp);	/* for beauty reasons */	for (i = 1; i < 9; i++)		card->info.portname[i] = ' ';	strcpy(card->info.portname + 1, tmp);	ASCEBC(card->info.portname + 1, 8);	return count;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/10523b3b82456e416cbaffcc24ea2246980aa746/qeth_sys.c/buggy/drivers/s390/net/qeth_sys.c