Searched hist:"62 b80719" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/befs/ |
H A D | linuxvfs.c | 62b80719 Sun Aug 14 11:59:11 CDT 2016 Luis de Bethencourt <luisbg@osg.samsung.com> befs: fix style issues in linuxvfs.c
Fix the following type of checkpatch.pl issues: WARNING: line over 80 characters +static struct dentry *befs_lookup(struct inode *, struct dentry *, unsigned int);
ERROR: code indent should use tabs where possible + if (!bi)$
WARNING: please, no spaces at the start of a line + if (!bi)$
WARNING: labels should not be indented + unacquire_bh:
WARNING: space prohibited between function name and open parenthesis '(' + sizeof (struct befs_inode_info),
WARNING: braces {} are not necessary for single statement blocks + if (!*out) { + return -ENOMEM; + }
WARNING: Block comments use a trailing */ on a separate line + * in special cases */
WARNING: Missing a blank line after declarations + int token; + if (!*p)
ERROR: do not use assignment in if condition + if (!(bh = sb_bread(sb, sb_block))) {
ERROR: space prohibited after that open parenthesis '(' + if( befs_sb->num_blocks > ~((sector_t)0) ) {
ERROR: space prohibited before that close parenthesis ')' + if( befs_sb->num_blocks > ~((sector_t)0) ) {
ERROR: space required before the open parenthesis '(' + if( befs_sb->num_blocks > ~((sector_t)0) ) {
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> 62b80719 Sun Aug 14 11:59:11 CDT 2016 Luis de Bethencourt <luisbg@osg.samsung.com> befs: fix style issues in linuxvfs.c Fix the following type of checkpatch.pl issues: WARNING: line over 80 characters +static struct dentry *befs_lookup(struct inode *, struct dentry *, unsigned int); ERROR: code indent should use tabs where possible + if (!bi)$ WARNING: please, no spaces at the start of a line + if (!bi)$ WARNING: labels should not be indented + unacquire_bh: WARNING: space prohibited between function name and open parenthesis '(' + sizeof (struct befs_inode_info), WARNING: braces {} are not necessary for single statement blocks + if (!*out) { + return -ENOMEM; + } WARNING: Block comments use a trailing */ on a separate line + * in special cases */ WARNING: Missing a blank line after declarations + int token; + if (!*p) ERROR: do not use assignment in if condition + if (!(bh = sb_bread(sb, sb_block))) { ERROR: space prohibited after that open parenthesis '(' + if( befs_sb->num_blocks > ~((sector_t)0) ) { ERROR: space prohibited before that close parenthesis ')' + if( befs_sb->num_blocks > ~((sector_t)0) ) { ERROR: space required before the open parenthesis '(' + if( befs_sb->num_blocks > ~((sector_t)0) ) { Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
|