search for: 539835a

Displaying 1 result from an estimated 1 matches for "539835a".

Did you mean: 539835
2009 Sep 18
1
[PATCH] drm/nouveau: fix WITHIN macro off by one
...of range. X must be stricly less. Signed-off-by: Pekka Paalanen <pq at iki.fi> --- drivers/gpu/drm/nouveau/nouveau_bios.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index 6afd82e..539835a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c @@ -300,7 +300,7 @@ valid_reg(struct nvbios *bios, uint32_t reg) if (dev_priv->card_type >= NV_50) return 1; - #define WITHIN(x, y, z) ((x >= y) && (x <= y + z)) + #define WIT...