<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/fs/befs/datastream.c, branch v4.9.45</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>befs: befs: fix style issues in datastream.c</title>
<updated>2016-10-08T09:01:36+00:00</updated>
<author>
<name>Luis de Bethencourt</name>
<email>luisbg@osg.samsung.com</email>
</author>
<published>2016-08-13T17:11:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a17e7d2010b44103e3b8e00d0c8c510606457bc6'/>
<id>a17e7d2010b44103e3b8e00d0c8c510606457bc6</id>
<content type='text'>
Fixing the following checkpatch.pl errors:

ERROR: "foo * bar" should be "foo *bar"
+                            befs_blocknr_t blockno, befs_block_run * run);

WARNING: Missing a blank line after declarations
+       struct buffer_head *bh;
+       befs_debug(sb, "---&gt; %s length: %llu", __func__, len);

WARNING: Block comments use * on subsequent lines
+       /*
+          Double indir block, plus all the indirect blocks it maps.

(and other instances of these)

Signed-off-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixing the following checkpatch.pl errors:

ERROR: "foo * bar" should be "foo *bar"
+                            befs_blocknr_t blockno, befs_block_run * run);

WARNING: Missing a blank line after declarations
+       struct buffer_head *bh;
+       befs_debug(sb, "---&gt; %s length: %llu", __func__, len);

WARNING: Block comments use * on subsequent lines
+       /*
+          Double indir block, plus all the indirect blocks it maps.

(and other instances of these)

Signed-off-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>befs: improve documentation in datastream.c</title>
<updated>2016-10-08T09:01:36+00:00</updated>
<author>
<name>Luis de Bethencourt</name>
<email>luisbg@osg.samsung.com</email>
</author>
<published>2016-08-13T17:11:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a20af5f9eaac083e2865e94f37e47af74d70f187'/>
<id>a20af5f9eaac083e2865e94f37e47af74d70f187</id>
<content type='text'>
Convert function descriptions to kernel-doc style.

Signed-off-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Convert function descriptions to kernel-doc style.

Signed-off-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>befs: fix typos in datastream.c</title>
<updated>2016-10-08T09:01:35+00:00</updated>
<author>
<name>Luis de Bethencourt</name>
<email>luisbg@osg.samsung.com</email>
</author>
<published>2016-08-13T17:11:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d327e612bd1f854f08bc4c419122a41440455cbe'/>
<id>d327e612bd1f854f08bc4c419122a41440455cbe</id>
<content type='text'>
Signed-off-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fs: befs: remove unnecessary *befs_sb variable</title>
<updated>2016-10-08T09:01:23+00:00</updated>
<author>
<name>Salah Triki</name>
<email>salah.triki@gmail.com</email>
</author>
<published>2016-07-31T20:34:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f30661035b01910c5da248b6e67fb66182e40f6f'/>
<id>f30661035b01910c5da248b6e67fb66182e40f6f</id>
<content type='text'>
Remove *befs_sb and just call BEFS_SB(sb) directly, since the returned
value by this function is only used once.

Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
Acked-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove *befs_sb and just call BEFS_SB(sb) directly, since the returned
value by this function is only used once.

Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
Acked-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fs: befs: Remove useless calls to brelse in befs_find_brun_dblindirect</title>
<updated>2016-10-08T09:01:20+00:00</updated>
<author>
<name>Salah Triki</name>
<email>salah.triki@gmail.com</email>
</author>
<published>2016-07-27T03:11:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d70ee4f2de3de1f56f7b5d0837ad9d53320cf128'/>
<id>d70ee4f2de3de1f56f7b5d0837ad9d53320cf128</id>
<content type='text'>
The calls to brelse are useless since dbl_indir_block and indir_block
are NULL.

Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
Acked-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The calls to brelse are useless since dbl_indir_block and indir_block
are NULL.

Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
Acked-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fs: befs: Remove redundant validation from befs_find_brun_direct</title>
<updated>2016-10-08T09:01:19+00:00</updated>
<author>
<name>Salah Triki</name>
<email>salah.triki@gmail.com</email>
</author>
<published>2016-07-27T03:11:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d84e4a5a09c320e209789d263a26617f6f7324e3'/>
<id>d84e4a5a09c320e209789d263a26617f6f7324e3</id>
<content type='text'>
The only caller of befs_find_brun_direct is befs_fblock2brun, which
already validates that the block is within the range of direct blocks.
So remove the duplicate validation.

Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
Acked-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The only caller of befs_find_brun_direct is befs_fblock2brun, which
already validates that the block is within the range of direct blocks.
So remove the duplicate validation.

Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
Acked-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>befs: make consistent use of befs_error()</title>
<updated>2016-10-08T09:01:16+00:00</updated>
<author>
<name>Luis de Bethencourt</name>
<email>luisbg@osg.samsung.com</email>
</author>
<published>2016-07-03T15:29:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4c3897cce0774b6196f59f98a44eed7e011db5aa'/>
<id>4c3897cce0774b6196f59f98a44eed7e011db5aa</id>
<content type='text'>
befs_error() is used in potential errors that could happen in befs to
provide informational log messages. befs_debug() is silent when
CONFIG_BEFS_DEBUG=no, and very verbose when switched on, which is why it is
used for general debugging but not for errors.

Fix a few cases where the befs debug utility usage isn't following the
expected pattern. To make sure we have consistent information in the logs.

Signed-off-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
befs_error() is used in potential errors that could happen in befs to
provide informational log messages. befs_debug() is silent when
CONFIG_BEFS_DEBUG=no, and very verbose when switched on, which is why it is
used for general debugging but not for errors.

Fix a few cases where the befs debug utility usage isn't following the
expected pattern. To make sure we have consistent information in the logs.

Signed-off-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fs: befs: replace befs_bread by sb_bread</title>
<updated>2016-10-08T09:01:12+00:00</updated>
<author>
<name>Salah Triki</name>
<email>salah.triki@gmail.com</email>
</author>
<published>2016-07-23T12:36:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f7f675406be6eb3736a8690217d7b41d60f6a1aa'/>
<id>f7f675406be6eb3736a8690217d7b41d60f6a1aa</id>
<content type='text'>
Since befs_bread merely calls sb_bread, replace it by sb_bread.

Link: http://lkml.kernel.org/r/1466800258-4542-1-git-send-email-salah.triki@gmail.com
Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
Acked-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since befs_bread merely calls sb_bread, replace it by sb_bread.

Link: http://lkml.kernel.org/r/1466800258-4542-1-git-send-email-salah.triki@gmail.com
Signed-off-by: Salah Triki &lt;salah.triki@gmail.com&gt;
Acked-by: Luis de Bethencourt &lt;luisbg@osg.samsung.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fs/befs/datastream.c:befs_find_brun_dblindirect(): remove unneeded initializations to NULL</title>
<updated>2016-05-24T00:04:14+00:00</updated>
<author>
<name>Salah Triki</name>
<email>salah.triki@acm.org</email>
</author>
<published>2016-05-23T23:22:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6c8da24b903851656dc565e8d2336b72a35efe14'/>
<id>6c8da24b903851656dc565e8d2336b72a35efe14</id>
<content type='text'>
iaddr_array is unconditionally initialized to NULL in
befs_find_brun_dblindirect().

Link: http://lkml.kernel.org/r/940def273e30ef37957fba9da6981a10fb3c9741.1462649034.git.salah.triki@acm.org
Signed-off-by: Salah Triki &lt;salah.triki@acm.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
iaddr_array is unconditionally initialized to NULL in
befs_find_brun_dblindirect().

Link: http://lkml.kernel.org/r/940def273e30ef37957fba9da6981a10fb3c9741.1462649034.git.salah.triki@acm.org
Signed-off-by: Salah Triki &lt;salah.triki@acm.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fs/befs/datastream.c:befs_read_lsymlink(): remove unneeded initialization to NULL</title>
<updated>2016-05-24T00:04:14+00:00</updated>
<author>
<name>Salah Triki</name>
<email>salah.triki@acm.org</email>
</author>
<published>2016-05-23T23:22:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3080ea9e5bb4cb337b7f061a085645b9dabf365f'/>
<id>3080ea9e5bb4cb337b7f061a085645b9dabf365f</id>
<content type='text'>
bh is reinitialized by befs_read_datastream() so no need to init it
with NULL in the beginning of befs_read_lsymlink().

Link: http://lkml.kernel.org/r/e22f279bceb8d026af048952e02ba98925b21c92.1462649034.git.salah.triki@acm.org
Signed-off-by: Salah Triki &lt;salah.triki@acm.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bh is reinitialized by befs_read_datastream() so no need to init it
with NULL in the beginning of befs_read_lsymlink().

Link: http://lkml.kernel.org/r/e22f279bceb8d026af048952e02ba98925b21c92.1462649034.git.salah.triki@acm.org
Signed-off-by: Salah Triki &lt;salah.triki@acm.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
