projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee900d
)
ACPICA: Local cache support: Allow small cache objects
author
Bob Moore
<
[email protected]
>
Wed, 26 Apr 2017 08:19:10 +0000
(16:19 +0800)
committer
Rafael J. Wysocki
<
[email protected]
>
Wed, 26 Apr 2017 22:31:01 +0000
(
00:31
+0200)
ACPICA commit
9c54b8bbd483421ef2fef5225c00f1655b4a491c
Remove apparently arbitrary restriction on the size of the cache
objects to 16 (in acpi_os_create_cache). Now, the input object
size must be simply non-zero.
Link:
https://github.com/acpica/acpica/commit/9c54b8bb
Signed-off-by: Bob Moore <
[email protected]
>
Signed-off-by: Lv Zheng <
[email protected]
>
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
drivers/acpi/acpica/utcache.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/acpica/utcache.c
b/drivers/acpi/acpica/utcache.c
index 11c7f72f2d5608d4baa2e441275e7ad39e7aa707..531493306dee9237bfdbcce4e933be03957b4822 100644
(file)
--- a/
drivers/acpi/acpica/utcache.c
+++ b/
drivers/acpi/acpica/utcache.c
@@
-71,7
+71,7
@@
acpi_os_create_cache(char *cache_name,
ACPI_FUNCTION_ENTRY();
- if (!cache_name || !return_cache ||
(object_size < 16)
) {
+ if (!cache_name || !return_cache ||
!object_size
) {
return (AE_BAD_PARAMETER);
}