summaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorJulia Lawall2008-10-14 18:00:19 +0200
committerJames Bottomley2008-10-23 18:42:19 +0200
commit3fe68cc152fc7cc6a763c692544a0ab71926c800 (patch)
treed6552ab321c1cf3104daec5edd100ef83992a635 /lib/string_helpers.c
parent[SCSI] sd: remove command-size switching code (diff)
downloadkernel-qcow2-linux-3fe68cc152fc7cc6a763c692544a0ab71926c800.tar.gz
kernel-qcow2-linux-3fe68cc152fc7cc6a763c692544a0ab71926c800.tar.xz
kernel-qcow2-linux-3fe68cc152fc7cc6a763c692544a0ab71926c800.zip
[SCSI] sun3x_esp: Convert && to ||
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>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions