Feature #11825
closed
Allocate memory for tty_struct for tty_operations callbacks
Added by Evgeny Novikov over 2 years ago.
Updated over 2 years ago.
Category:
Environment models
Description
At the moment EMG considers a result of ldv_undef_ptr() as a pointer to tty_struct when there is not the lookup callback of tty_operations. I suggest to explicitly allocate a memory for tty_struct and use a pointer to it in this case.
The issue was revealed with help of #11810.
- Blocks Feature #11810: Check whether the same resources are passed to various related callbacks added
- Description updated (diff)
- Blocked by Feature #11826: Do not generate return values implicitly in case of missed callbacks added
- Status changed from New to Resolved
I implemented the feature request in branch allocate-tty-struct-mem. Let's see on testing results.
- Status changed from Resolved to Closed
Testing did not demonstrate any noticeable differences, so I merged the branch to master in 30ffb5718.
Also available in: Atom
PDF