Home
last modified time | relevance | path

Searched hist:fe58103a56f05613cb1f0ef228354d4d5f6c2b08 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/auxdisplay/
H A Dcfag12864b.cdiff fe58103a56f05613cb1f0ef228354d4d5f6c2b08 Wed Aug 22 23:01:56 CEST 2007 Miguel Ojeda <maxextreme@gmail.com> cfag12864b fix

This one-liner patch fixes a bug in drivers/auxdisplay/cfag12864b.c

At cfag12864b_init(), the driver tries to kalloc some memory in the
variable cfag12864b_cache.

Then, as usual, it checks if the call failed. However, it checks
cfag12864b_buffer instead.

This patch changes the "cfag12864b_buffer" to "cfag12864b_cache" so the
correct variable is checked.

Signed-off-by: Miguel Ojeda <maxextreme@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>