[PATCH] tpm_bios: securityfs error checking fix
authorAndrew Morton <akpm@osdl.org>
Wed, 1 Feb 2006 11:05:01 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:11 +0000 (08:53 -0800)
commitca4a031f6b43edb8745ebc0a1b7307c24719dae4
treefdbd3953c93828e588421afb7e07869c520013f4
parented5a92700d3ce2646cb7763792a5f7ad1bade7e8
[PATCH] tpm_bios: securityfs error checking fix

These functions return ERR_PTR()s on error, not NULL.

Spotted by Randy.

Cc: Serge Hallyn <serue@us.ibm.com>
Cc: Kylene Jo Hall <kjhall@us.ibm.com>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
Acked-by: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tpm/tpm_bios.c