Messages in this thread | | | From | "Richard B. Johnson" <> | Date | Fri, 9 Apr 2004 15:50:56 -0400 (EDT) | Subject | 2.4.24 poll |
| |
Somebody who read about potential problems with poll() asked me to pass this on. They had problems sending mail from yahoo. It seems that couldn't disable something that gets interpreted by vger as HTML.
From n26825@yahoo.com Fri Apr 9 15:47:05 2004 To: linux-kernel@vger.kernel.org From: N26825 <n26825@yahoo.com> Cc: "Johnson, Richard" <rjohnson@analogic.com> Subject: Fwd: Linux version 2.4.24 poll
Subject: Linux version 2.4.24 poll
Gentlemen:
In a character device, if I open one with a MINOR number of 1, variable "minor" in the following driver snippet remains 0.
static size_t poll(struct file *fp, struct poll_table_struct *wait) { int minor = MINOR(fp->f_dentry->d_inode->i_rdev);
If this is a feature, and not a bug, how am I supposed to obtain the minor number or do I have to use a block device?
Thanks,
Gloria
________________________________________________________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway - Enter today
Richard B. Johnson Project Engineer Analogic Corporation Penguin : Linux version 2.2.15 on an i586 machine (330.14 BogoMips). - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |