Skip to content
This repository was archived by the owner on Dec 17, 2017. It is now read-only.

Storahci Initial changeset#13

Open
amaneureka wants to merge 16 commits intoreactos:masterfrom
amaneureka:master
Open

Storahci Initial changeset#13
amaneureka wants to merge 16 commits intoreactos:masterfrom
amaneureka:master

Conversation

@amaneureka
Copy link
Copy Markdown

No description provided.

* @return
* Return true if intialization was successful
*/
BOOLEAN AhciPortInitialize(
Copy link
Copy Markdown

@ionescu007 ionescu007 Jun 9, 2016

Choose a reason for hiding this comment

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

In general, our coding style for function is:

RETURNTYPE
FunctionName (
    _In_Sal2_Annotations PTYPE Var,
    _In_Sal2_Annotations PTYPE Var
    )
{
   ...
}

OR:

RETURNTYPE
FunctionName (_In_Sal2_Annotations PTYPE Var,
              _In_Sal2_Annotations PTYPE Var)
{
...
}

Can you pick one and be consistent? Thanks!

@amaneureka
Copy link
Copy Markdown
Author

@ionescu007 I made all those changes, please review latest commit.

)
BOOLEAN
AhciPortInitialize (
__in PAHCI_PORT_EXTENSION portExtension
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Use SAL 2 and just one space in all your functions, please.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All input arguments should be CamelCase

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants