poll file operation parameters

Abraham van der Merwe (abz@frogfoot.net)
Fri, 11 Jul 2003 12:49:57 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Is it valid if a driver's poll file operation is called with a NULL poll_table
parameter, i.e. if you have

static int drv_poll (void *id,struct file *file,poll_table *table)
{
BUG_ON( id==NULL || file==NULL || table==NULL );
...
}

Is above valid or may table indeed be NULL?

- --

Regards
Abraham

You mean now I can SHOOT YOU in the back and further BLUR th'
distinction between FANTASY and REALITY?

___________________________________________________
Abraham vd Merwe - Frogfoot Networks CC
9 Kinnaird Court, 33 Main Street, Newlands, 7700
Phone: +27 21 686 1665 Cell: +27 82 565 4451
Http: http://www.frogfoot.net/ Email: abz@frogfoot.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: Debian :: The Universal Operating System

iD8DBQE/DpZV0jJV70h31dERAtBcAJ9ba7mI5mVh6bLVdiKqgwN7b3oGrQCfc9mG
Gfr2HOuZlDs8DVx7gr2UAUg=
=eHJf
-----END PGP SIGNATURE-----
-
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/