qeth_dev_bufcnt_store(struct device *dev, const char *buf, size_t count) 
qeth_dev_bufcnt_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) 
qeth_dev_bufcnt_store(struct device *dev, const char *buf, size_t count){	struct qeth_card *card = dev->driver_data;	char *tmp;	int cnt, old_cnt;	int rc;	if (!card)		return -EINVAL;	if ((card->state != CARD_STATE_DOWN) &&	    (card->state != CARD_STATE_RECOVER))		return -EPERM;	old_cnt = card->qdio.in_buf_pool.buf_count;	cnt = simple_strtoul(buf, &tmp, 10);	cnt = (cnt < QETH_IN_BUF_COUNT_MIN) ? QETH_IN_BUF_COUNT_MIN :		((cnt > QETH_IN_BUF_COUNT_MAX) ? QETH_IN_BUF_COUNT_MAX : cnt);	if (old_cnt != cnt) {		if ((rc = qeth_realloc_buffer_pool(card, cnt)))			PRINT_WARN("Error (%d) while setting "				   "buffer count.\n", rc);	}	return count;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/10523b3b82456e416cbaffcc24ea2246980aa746/qeth_sys.c/buggy/drivers/s390/net/qeth_sys.c