Skip to content

Xvsec fix get set fs error#370

Open
firas-aschkar wants to merge 4 commits intoXilinx:masterfrom
firas-aschkar:xvsec_fix_get_set_fs_error
Open

Xvsec fix get set fs error#370
firas-aschkar wants to merge 4 commits intoXilinx:masterfrom
firas-aschkar:xvsec_fix_get_set_fs_error

Conversation

@firas-aschkar
Copy link

No description provided.

remove duplicate include headers of fs.h and uaccess.h

Signed-off-by: Firas Achkar <firas.achkar@fidus.com>
add Linux version conditional check, alongside class_create's new function
signature

Signed-off-by: Firas Achkar <firas.achkar@fidus.com>
1. remove static keyword from GPL exported function signatures, and
2. add exported functions' declarations to header, and
3. add copying of 'xvsec_drv_int.h' to 'all' Makefile target recipe, since this
header contains declaration needed by users/callee of the exported functions,
and
4. remove copying of none existing '.tmp*' artifacts from 'all' target recipe,
since this was causing make errors

Signed-off-by: Firas Achkar <firas.achkar@fidus.com>
1. add conditional Linux kernel version checks around get_fs/set_fs and related
logic, since these were removed from latest Linux version, and

2. add new additional 'xvsec_util_get_file_size' implementation using currently
GPL exported/available vfs functions

Signed-off-by: Firas Achkar <firas.achkar@fidus.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant