WSL2-Linux-Kernel/Documentation/filesystems/configfs
Dan Carpenter 09c9feb946 Documentation: make configfs example code simpler, clearer
If "p" is NULL then it will cause an oops when we pass it to
simple_strtoul().  In this case "p" can not be NULL so I removed the
check.  I also changed the check a little to make it more explicit that
we are testing whether p points to the NUL char.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-18 15:00:46 -08:00
..
Makefile docsrc: build Documentation/ sources 2008-08-12 16:07:30 -07:00
configfs.txt [PATCH] configfs: Convenience macros for attribute definition. 2008-07-31 16:21:13 -07:00
configfs_example_explicit.c Documentation: make configfs example code simpler, clearer 2010-11-18 15:00:46 -08:00
configfs_example_macros.c [PATCH] configfs: Convenience macros for attribute definition. 2008-07-31 16:21:13 -07:00