Actions
Bug #7948
openlinux:alloc: misleading comment
Status:
New
Priority:
High
Assignee:
-
Category:
Requirement specifications
Target version:
-
Start date:
02/03/2017
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
On drivers/video/fb.ko there is a comment
Nothing should be allocated at the end.
but there is no allocation in the trace, just kfree.
Actually the comment should mention something different including that memory may be freed without alloc.
Or may be the rule specification should be changed to catch the error at the kfree call point.
Updated by Alexey Khoroshilov almost 8 years ago
Vadim Mutilin wrote:
Or may be the rule specification should be changed to catch the error at the kfree call point.
I like this idea.
Actions