priv = dev->driver_data; if (!priv) return -ENODEV; 
loglevel_write(struct device *dev, const char *buf, size_t count){	struct ctc_priv *priv;	int ll1;	DBF_TEXT(trace, 5, __FUNCTION__);	priv = dev->driver_data;	if (!priv)		return -ENODEV;	sscanf(buf, "%i", &ll1);	if ((ll1 > CTC_LOGLEVEL_MAX) || (ll1 < 0))		return -EINVAL;	loglevel = ll1;	return count;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7394c928c849fe2ea5c20b6d73cbe7f220810d94/ctcmain.c/buggy/drivers/s390/net/ctcmain.c