diff options
Diffstat (limited to 'drivers/pnp')
-rw-r--r-- | drivers/pnp/pnpbios/proc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/pnp/pnpbios/proc.c b/drivers/pnp/pnpbios/proc.c index 9d9841f24a85..bb19bc957bad 100644 --- a/drivers/pnp/pnpbios/proc.c +++ b/drivers/pnp/pnpbios/proc.c | |||
@@ -94,8 +94,9 @@ static int proc_read_escd(char *buf, char **start, off_t pos, | |||
94 | 94 | ||
95 | /* sanity check */ | 95 | /* sanity check */ |
96 | if (escd_size > MAX_SANE_ESCD_SIZE) { | 96 | if (escd_size > MAX_SANE_ESCD_SIZE) { |
97 | printk(KERN_ERR | 97 | printk(KERN_ERR "PnPBIOS: proc_read_escd: ESCD size reported by" |
98 | "PnPBIOS: proc_read_escd: ESCD size reported by BIOS read_escd call is too great\n"); | 98 | " BIOS read_escd call is too great\n"); |
99 | kfree(tmpbuf); | ||
99 | return -EFBIG; | 100 | return -EFBIG; |
100 | } | 101 | } |
101 | 102 | ||