Revision 3fe68cc152fc7cc6a763c692544a0ab71926c800 authored by Julia Lawall on 14 October 2008, 16:00:19 UTC, committed by James Bottomley on 23 October 2008, 16:42:19 UTC
The pattern !E && !E->fld is nonsensical. The patch below updates this according to the assumption that && should be ||. But perhaps another solution was intended. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @disable and_comm@ expression E; identifier fld; @@ - !E && !E->fld + !E || !E->fld // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Acked-By: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
1 parent d4c9b73
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 206 bytes |
hostfs.h | -rw-r--r-- | 3.4 KB |
hostfs_kern.c | -rw-r--r-- | 22.1 KB |
hostfs_user.c | -rw-r--r-- | 8.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...