]> Git Repo - linux.git/commit
platform/x86: dell-laptop: Allocate buffer on heap rather than globally
authorMario Limonciello <[email protected]>
Wed, 31 Jan 2018 17:47:35 +0000 (11:47 -0600)
committerAndy Shevchenko <[email protected]>
Thu, 1 Feb 2018 13:26:11 +0000 (15:26 +0200)
commit9862b43624a5450a097cc4122732857b869dbbca
tree8830ca4d7a80636500eb590e5e2498b5c7c14d10
parent941691ef2197944a202d7870dcd7da3fb0391c65
platform/x86: dell-laptop: Allocate buffer on heap rather than globally

There is no longer a need for the buffer to be defined in
first 4GB physical address space.

Furthermore there may be race conditions with multiple different functions
working on a module wide buffer causing incorrect results.

Fixes: 549b4930f057658dc50d8010e66219233119a4d8
Suggested-by: Pali Rohar <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
drivers/platform/x86/dell-laptop.c
This page took 0.04817 seconds and 4 git commands to generate.