This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
invalid operands to binary &
- From: David Stroupe <dstroupe at keyed-upsoftware dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Sun, 05 May 2002 17:50:24 -0500
- Subject: invalid operands to binary &
I get an
invalid operands to binary &
error when I compile this line in a kernel module
return (pte_val(*pte) & ~(PAGE_SIZE -1)) + (address & (PAGE_SIZE - 1));
Can anyone tell me why?
TIA
--
Best regards,
David Stroupe
Keyed-Up Software