Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uboot-i9100
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
onny
uboot-i9100
Commits
7ca9296e
Commit
7ca9296e
authored
13 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
README: udate Coding Style description to current status quo
Signed-off-by:
Wolfgang Denk
<
wd@denx.de
>
parent
ce0f709b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README
+5
-7
5 additions, 7 deletions
README
with
5 additions
and
7 deletions
README
+
5
−
7
View file @
7ca9296e
...
@@ -4479,9 +4479,7 @@ Coding Standards:
...
@@ -4479,9 +4479,7 @@ Coding Standards:
All contributions to U-Boot should conform to the Linux kernel
All contributions to U-Boot should conform to the Linux kernel
coding style; see the file "Documentation/CodingStyle" and the script
coding style; see the file "Documentation/CodingStyle" and the script
"scripts/Lindent" in your Linux kernel source directory. In sources
"scripts/Lindent" in your Linux kernel source directory.
originating from U-Boot a style corresponding to "Lindent -pcs" (adding
spaces before parameters to function calls) is actually used.
Source files originating from a different project (for example the
Source files originating from a different project (for example the
MTD subsystem) are generally exempt from these guidelines and are not
MTD subsystem) are generally exempt from these guidelines and are not
...
@@ -4494,9 +4492,9 @@ in your code.
...
@@ -4494,9 +4492,9 @@ in your code.
Please also stick to the following formatting rules:
Please also stick to the following formatting rules:
- remove any trailing white space
- remove any trailing white space
- use TAB characters for indentation, not spaces
- use TAB characters for indentation
and vertical alignment
, not spaces
- make sure NOT to use DOS '\r\n' line feeds
- make sure NOT to use DOS '\r\n' line feeds
- do not add more than 2 empty lines to source files
- do not add more than 2
consecutive
empty lines to source files
- do not add trailing empty lines to source files
- do not add trailing empty lines to source files
Submissions which do not conform to the standards may be returned
Submissions which do not conform to the standards may be returned
...
@@ -4530,14 +4528,14 @@ it:
...
@@ -4530,14 +4528,14 @@ it:
* For major contributions, your entry to the CREDITS file
* For major contributions, your entry to the CREDITS file
* When you add support for a new board, don't forget to add this
* When you add support for a new board, don't forget to add this
board to the MA
KEALL script
, too.
board to the MA
INTAINERS file
, too.
* If your patch adds new configuration options, don't forget to
* If your patch adds new configuration options, don't forget to
document these in the README file.
document these in the README file.
* The patch itself. If you are using git (which is *strongly*
* The patch itself. If you are using git (which is *strongly*
recommended) you can easily generate the patch using the
recommended) you can easily generate the patch using the
"git
-
format-patch". If you then use "git
-
send-email" to send it to
"git
format-patch". If you then use "git
send-email" to send it to
the U-Boot mailing list, you will avoid most of the common problems
the U-Boot mailing list, you will avoid most of the common problems
with some other mail clients.
with some other mail clients.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment