projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a532c6
)
Removed hard coded EDID buffer size.
author
Dennis Munsie
<dmunsie@cecropia.com>
Wed, 7 Jun 2006 08:53:38 +0000
(18:53 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Wed, 7 Jun 2006 08:53:38 +0000
(18:53 +1000)
Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
Acked-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/video/intelfb/intelfbdrv.c
patch
|
blob
|
history
diff --git
a/drivers/video/intelfb/intelfbdrv.c
b/drivers/video/intelfb/intelfbdrv.c
index 85bf55897f77209e57aea6969b50435efcf30c40..076fa56be192a3df28d06f7ad41903f8ba54ad86 100644
(file)
--- a/
drivers/video/intelfb/intelfbdrv.c
+++ b/
drivers/video/intelfb/intelfbdrv.c
@@
-1036,10
+1036,10
@@
intelfb_init_var(struct intelfb_info *dinfo)
u8 *edid_d = NULL;
if (edid_s) {
- edid_d = kmalloc(
128
, GFP_KERNEL);
+ edid_d = kmalloc(
EDID_LENGTH
, GFP_KERNEL);
if (edid_d) {
- memcpy(edid_d, edid_s,
128
);
+ memcpy(edid_d, edid_s,
EDID_LENGTH
);
fb_edid_to_monspecs(edid_d,
&dinfo->info->monspecs);
kfree(edid_d);