X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ipc%2Fshm.c;h=729acb7e31487f67660a3202d818f1f55b4fd6e5;hb=07f9479a40cc778bc1462ada11f95b01360ae4ff;hp=8644452f5c4cd687b9112b7fb19a7ebe34ef929c;hpb=03e4970c10151c5fb25ddd7e9a142d63c6a8d058;p=~andy%2Flinux diff --git a/ipc/shm.c b/ipc/shm.c index 8644452f5c4..729acb7e314 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -1056,7 +1056,7 @@ SYSCALL_DEFINE1(shmdt, char __user *, shmaddr) /* * We need look no further than the maximum address a fragment * could possibly have landed at. Also cast things to loff_t to - * prevent overflows and make comparisions vs. equal-width types. + * prevent overflows and make comparisons vs. equal-width types. */ size = PAGE_ALIGN(size); while (vma && (loff_t)(vma->vm_end - addr) <= size) {