OSDN Git Service

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)
commitbba757d8578ff65b5168f6420552fbba3c159774
treed08edd993cb190ac99b568131010ab7f7a212277
parent0663a0588440e6f3d41667287b6f001161d2d7c7
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