]> xenbits.xensource.com Git - mini-os.git/commit
use alloc_file_type() and get_file_from_fd() in fbfront
authorJuergen Gross <jgross@suse.com>
Sun, 16 Jan 2022 08:33:24 +0000 (09:33 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 18 Jan 2022 18:26:43 +0000 (18:26 +0000)
commit44bd6fe4c1a4ec06cc1613d51fa19113693d49b5
tree3ad65f88e063d58fc5f375a6e82c5ca5ec55db4e
parent729d79666c2966fea458c26940fed62bf229e42d
use alloc_file_type() and get_file_from_fd() in fbfront

Allocate file types dynamically via alloc_file_type().

Instead of directly accessing the files[] array use get_file_from_fd().

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
fbfront.c
include/lib.h
lib/sys.c