]> git.baikalelectronics.ru Git - kernel.git/commit
coding-style.rst: Generic alloc functions do not need OOM logging
authorJoe Perches <joe@perches.com>
Sat, 30 Mar 2019 17:25:03 +0000 (10:25 -0700)
committerJonathan Corbet <corbet@lwn.net>
Mon, 1 Apr 2019 20:58:46 +0000 (14:58 -0600)
commit7cf750fd6a5301d6531355b29da56f177f4b088a
treed08edd993cb190ac99b568131010ab7f7a212277
parent198e5b49d9c428d9b845e021ba6f22467047a249
coding-style.rst: Generic alloc functions do not need OOM logging

Generic allocation functions already emit a dump_stack()
so additional error logging isn't useful.

Document it as such and add a reference to the allocation
API.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/process/coding-style.rst