On 25.07.24 08:29, Samuel Thibault wrote:
Jürgen Groß, le jeu. 25 juil. 2024 08:25:18 +0200, a ecrit:On 25.07.24 00:44, Samuel Thibault wrote:Hello,Jürgen Groß, le mar. 23 juil. 2024 08:36:13 +0200, a ecrit:On 22.07.24 23:35, Samuel Thibault wrote:Juergen Gross, le lun. 22 juil. 2024 17:01:41 +0200, a ecrit:Remove the sanity_check() function, as it is used nowhere. Since any application linked with Mini-OS can't call sanity_check() either (there is no EXPORT_SYMBOL for it), there is zero chance of breaking any use case.Don't we still want to keep it around, at least as formal documentation of the expected status of the list?Hmm, is it really worth the extra code?I have already seen such kind of piece of code getting very convenient when tracking odd bugs.What about putting it under CONFIG_TEST then?Ok !
I went a little bit further by calling sanity_check() from periodic_thread() in test.c once a second. This will make real use of the function. Juergen
OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature