Tag: 847fb8aca3b79d03ef6c5f87f0843a30ed9e6627

drivers/video/matrox/matroxfb_maven.c: fix unsigned return type

Author: Julia Lawall <julia@diku.dk> The function has an unsigned return type, but returns a negative constant to indicate an error condition. The result of calling the function is only tested by comparison to 0, and thus unsigned is not needed and can be dropped from the return type. A sematic match that finds this problem …

Continue reading