summaryrefslogtreecommitdiff
path: root/Documentation/VGA-softcursor.txt
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-10-25 09:42:42 (GMT)
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-10-30 21:37:20 (GMT)
commit837596a61ba8f9bb53bb7aa27d17328ff9b2bcd5 (patch)
treea9b2ba0d4382a1c0ad75182662570f61b5e03e57 /Documentation/VGA-softcursor.txt
parenta1f805e5e73a8fe166b71c6592d3837df0cd5e2e (diff)
downloadlinux-fsl-qoriq-837596a61ba8f9bb53bb7aa27d17328ff9b2bcd5.tar.xz
firewire: ohci: avoid reallocation of AR buffers
Freeing an AR buffer page just to allocate a new page immediately afterwards is not only a pointless effort but also dangerous because the allocation can fail, which would result in an oops later. Split ar_context_add_page() into two functions so that we can reuse the old page directly. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Tested-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'Documentation/VGA-softcursor.txt')
0 files changed, 0 insertions, 0 deletions