suspect code in drivers/char/agp/generic.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was just looking at agp_copy_info(), which contains this code:

   318 	if (bridge->mode & AGPSTAT_MODE_3_0)
   319 		info->mode = bridge->mode & ~AGP3_RESERVED_MASK;
   320 	else
   321 		info->mode = bridge->mode & ~AGP2_RESERVED_MASK;
   322 	info->mode = bridge->mode;

This looks wrong to me, since line 322 overrides the previous 4 lines'
work...

I have no idea whether this is actually causing a problem, but I'd
thought I'd call attention to it.

    J
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux