Skip to content
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

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

quic-cgettibo
Copy link
Contributor

No description provided.


if(IS_SESSION_OPEN_ALREADY(domain)) {
*dev = hlist[domain].dev;
return 0;
Copy link
Contributor

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

close(dev);
int fastrpc_session_close(int domain, int dev) {
if(hlist[domain].dev == -1)
close(dev);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use uniform indentation

@@ -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);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use uniform indentation

@quic-cgettibo quic-cgettibo force-pushed the new_branch branch 2 times, most recently from 8f15e32 to 5ca3b56 Compare June 4, 2024 06:00
@quic-ekangupt quic-ekangupt linked an issue Jun 4, 2024 that may be closed by this pull request
@quic-cgettibo quic-cgettibo force-pushed the new_branch branch 2 times, most recently from decb1d4 to 6f65b50 Compare June 4, 2024 08:28
@@ -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)) {
Copy link
Contributor

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

Copy link
Contributor

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 (

int fastrpc_session_close(int dev) {
close(dev);
int fastrpc_session_close(int domain, int dev) {
if(hlist[domain].dev == -1)
Copy link
Contributor

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]>
@quic-bkumar quic-bkumar merged commit 9795d76 into quic:main Jul 23, 2024
1 check passed
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.

Unsigned Capability check is not working
3 participants