I have been following the Building Yaffs into Linux tutorial to try to integrate yaffs2 into linux kernel 5.10. However, I have encountered multiple errors during compilation. It seems some break changes in newer kernels (>5.0 and especially >5.6) cause these errors. To name a few, the current_kernel_time64 function is deprecated and we should use SB_* instead of MS_* (MS_RDONLY, MS_NOATIME, etc.)

I am wondering what's the latest version of kernel supported by yaffs2? Am I missing something?

Thanks!