]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
vga_switcheroo: comparing too few characters in strncmp()
authorDan Carpenter <error27@gmail.com>
Fri, 7 Jan 2011 05:12:27 +0000 (08:12 +0300)
committerDave Airlie <airlied@redhat.com>
Fri, 7 Jan 2011 05:29:37 +0000 (15:29 +1000)
commitfea6f330cdd18f79d50bcdfbedb96d929a173e0d
tree9ea6e24eb96ea58b1db44b2e6c942278b2305aec
parentdfe63bb0ad9810db13aab0058caba97866e0a681
vga_switcheroo: comparing too few characters in strncmp()

This is a copy-and-paste bug.  We should be comparing 4 characters here
instead of 3.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/vga/vga_switcheroo.c