[Fix]: software: kernel: ft-debug: The code returns false failure
After this: commit b208e2f7 ("software: kernel: ft-debug: Update API 'debugfs_create_regset32'") The pointer `ft->dbg_reg` was never initialized. And when we check it for "IS_ERR_ORNULL", we get false failure. Thus, put conditional directive for this API update. Signed-off-by: Vaibhav Gupta <vaibhav.gupta@cern.ch>
Showing
Please
register
or
sign in
to comment