Revision ae29bc92da01a2e9d278a9a58c3b307d41cc0254 authored by William Douglas on 01 November 2011, 00:11:31 UTC, committed by Linus Torvalds on 01 November 2011, 00:30:53 UTC
Currently log_prefix is testing that the first character of the log level and facility is less than '0' and greater than '9' (which is always false). Since the code being updated works because strtoul bombs out (endp isn't updated) and 0 is returned anyway just remove the check and don't change the behavior of the function. Signed-off-by: William Douglas <william.douglas@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 48e4189
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 898 bytes |
Makefile | -rw-r--r-- | 416 bytes |
afs.h | -rw-r--r-- | 6.0 KB |
afs_cm.h | -rw-r--r-- | 1.2 KB |
afs_fs.h | -rw-r--r-- | 2.3 KB |
afs_vl.h | -rw-r--r-- | 3.6 KB |
cache.c | -rw-r--r-- | 10.8 KB |
callback.c | -rw-r--r-- | 11.4 KB |
cell.c | -rw-r--r-- | 10.3 KB |
cmservice.c | -rw-r--r-- | 13.2 KB |
dir.c | -rw-r--r-- | 27.1 KB |
file.c | -rw-r--r-- | 8.6 KB |
flock.c | -rw-r--r-- | 15.8 KB |
fsclient.c | -rw-r--r-- | 44.1 KB |
inode.c | -rw-r--r-- | 12.2 KB |
internal.h | -rw-r--r-- | 31.1 KB |
main.c | -rw-r--r-- | 4.4 KB |
misc.c | -rw-r--r-- | 2.3 KB |
mntpt.c | -rw-r--r-- | 6.8 KB |
netdevices.c | -rw-r--r-- | 1.5 KB |
proc.c | -rw-r--r-- | 17.0 KB |
rxrpc.c | -rw-r--r-- | 20.1 KB |
security.c | -rw-r--r-- | 8.9 KB |
server.c | -rw-r--r-- | 7.9 KB |
super.c | -rw-r--r-- | 12.4 KB |
vlclient.c | -rw-r--r-- | 5.4 KB |
vlocation.c | -rw-r--r-- | 17.7 KB |
vnode.c | -rw-r--r-- | 24.1 KB |
volume.c | -rw-r--r-- | 9.9 KB |
write.c | -rw-r--r-- | 18.1 KB |
Computing file changes ...