for (cd = chrdevs[i]; cd; cd = cd->next)
for (cd = chrdevs[i]; cd; cd = cd->next) {  if ((len+strlen(cd->name) + 5) >= PAGE_SIZE) goto page_full;
int get_chrdev_list(char *page){	struct char_device_struct *cd;	int i, len;	len = sprintf(page, "Character devices:\n");	down(&chrdevs_lock);	for (i = 0; i < ARRAY_SIZE(chrdevs) ; i++) {		for (cd = chrdevs[i]; cd; cd = cd->next)			len += sprintf(page+len, "%3d %s\n",				       cd->major, cd->name);	}	up(&chrdevs_lock);	return len;}