Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ca3858e6 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Alistair Strachan
Browse files

FROMLIST: jffs2: pass the correct prototype to read_cache_page



Fix the callback jffs2 passes to read_cache_page to actually have the
proper type expected.  Casting around function pointers can easily
hide typing bugs, and defeats control flow protection.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Bug: 133186739
Change-Id: Ie5bfeff009a555c1894784458d2fe79a87f1be03
Link: https://lkml.org/lkml/2019/5/1/295


Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 49ded337
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment