-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolved Unsigned-pd support issue #6
Conversation
src/fastrpc_apps_user.c
Outdated
|
||
if(IS_SESSION_OPEN_ALREADY(domain)) { | ||
*dev = hlist[domain].dev; | ||
return 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation does not look correct
src/fastrpc_apps_user.c
Outdated
close(dev); | ||
int fastrpc_session_close(int domain, int dev) { | ||
if(hlist[domain].dev == -1) | ||
close(dev); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use uniform indentation
src/fastrpc_cap.c
Outdated
@@ -125,7 +125,7 @@ int fastrpc_get_cap(uint32_t domain, uint32_t attributeID, uint32_t *capability) | |||
|
|||
bail: | |||
if(dev != -1) | |||
fastrpc_session_close(dev); | |||
fastrpc_session_close(dom, dev); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use uniform indentation
8f15e32
to
5ca3b56
Compare
decb1d4
to
6f65b50
Compare
src/fastrpc_apps_user.c
Outdated
@@ -342,6 +342,12 @@ void set_thread_context(int domain) { | |||
|
|||
int fastrpc_session_open(int domain, int *dev) { | |||
int device = -1; | |||
|
|||
if(IS_SESSION_OPEN_ALREADY(domain)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use space for indentation instead of tab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also give a space between if and (
src/fastrpc_apps_user.c
Outdated
int fastrpc_session_close(int dev) { | ||
close(dev); | ||
int fastrpc_session_close(int domain, int dev) { | ||
if(hlist[domain].dev == -1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use space for indentation and space after "if"
Signed-off-by: Chanikya Prakash Gettiboina <[email protected]>
No description provided.