2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-15 16:53:54 +08:00
linux-next/fs/qnx4
Julia Lawall 7e2a10836c fs/qnx4: decrement sizeof size in strncmp
As an identical match is wanted in this case, strcmp can be used instead.

The semantic match that lead to detecting this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression foo;
constant char *abc;
@@

*strncmp(foo, abc, sizeof(abc))
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Anders Larsen <al@alarsen.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2010-02-04 11:55:46 +01:00
..
bitmap.c qnx4: use hweight8 2009-12-16 07:20:18 -08:00
dir.c qnx4fs: add missing KERN_xxx to printk() calls 2009-11-09 09:40:57 +01:00
inode.c fs/qnx4: decrement sizeof size in strncmp 2010-02-04 11:55:46 +01:00
Kconfig qnx4: remove write support 2009-09-23 07:39:30 -07:00
Makefile qnx4: remove write support 2009-09-23 07:39:30 -07:00
namei.c qnx4fs: add missing KERN_xxx to printk() calls 2009-11-09 09:40:57 +01:00
qnx4.h qnx4: remove write support 2009-09-23 07:39:30 -07:00
README Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00

  This is a snapshot of the QNX4 filesystem for Linux.
  Please send diffs and remarks to <al@alarsen.net> .
  
Credits :

Richard "Scuba" A. Frowijn     <scuba@wxs.nl>
Frank "Jedi/Sector One" Denis  <j@pureftpd.org>
Anders Larsen                  <al@alarsen.net> (Maintainer)