<p><a href="https://review.coreboot.org/28569">View Change</a></p><p>9 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://review.coreboot.org/#/c/28569/8/src/arch/riscv/pmp.c">File src/arch/riscv/pmp.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/28569/8/src/arch/riscv/pmp.c@82">Patch Set #8, Line 82:</a> <code style="font-family:monospace,monospace">             new = (old & ~((uintptr_t)0xff << shift)) | ((cfg & 0xff) << shift);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">line over 80 characters</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/28569/8/src/arch/riscv/pmp.c@87">Patch Set #8, Line 87:</a> <code style="font-family:monospace,monospace">                new = (old & ~((uintptr_t)0xff << shift)) | ((cfg & 0xff) << shift);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">line over 80 characters</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/28569/8/src/arch/riscv/pmp.c@92">Patch Set #8, Line 92:</a> <code style="font-family:monospace,monospace">                new = (old & ~((uintptr_t)0xff << shift)) | ((cfg & 0xff) << shift);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">line over 80 characters</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/28569/8/src/arch/riscv/pmp.c@97">Patch Set #8, Line 97:</a> <code style="font-family:monospace,monospace">                new = (old & ~((uintptr_t)0xff << shift)) | ((cfg & 0xff) << shift);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">line over 80 characters</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/28569/8/src/arch/riscv/pmp.c@106">Patch Set #8, Line 106:</a> <code style="font-family:monospace,monospace">              new = (old & ~((uintptr_t)0xff << shift)) | ((cfg & 0xff) << shift);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">line over 80 characters</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/28569/8/src/arch/riscv/pmp.c@111">Patch Set #8, Line 111:</a> <code style="font-family:monospace,monospace">              new = (old & ~((uintptr_t)0xff << shift)) | ((cfg & 0xff) << shift);</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">line over 80 characters</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/28569/8/src/arch/riscv/pmp.c@117">Patch Set #8, Line 117:</a> <code style="font-family:monospace,monospace">              die("write_pmpcfg failure!");</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Prefer using '"%s...", __func__' to using 'write_pmpcfg', this function's name, in a string</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/28569/8/src/arch/riscv/pmp.c@123">Patch Set #8, Line 123:</a> <code style="font-family:monospace,monospace">     switch(idx) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">space required before the open parenthesis '('</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://review.coreboot.org/#/c/28569/8/src/arch/riscv/pmp.c@214">Patch Set #8, Line 214:</a> <code style="font-family:monospace,monospace">          die("write_pmpaddr failure");</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Prefer using '"%s...", __func__' to using 'write_pmpaddr', this function's name, in a string</p></li></ul></li></ul><p>To view, visit <a href="https://review.coreboot.org/28569">change 28569</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/28569"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I2e9e0c94e6518f63ade7680a3ce68bacfae219d4 </div>
<div style="display:none"> Gerrit-Change-Number: 28569 </div>
<div style="display:none"> Gerrit-PatchSet: 8 </div>
<div style="display:none"> Gerrit-Owner: Xiang Wang <wxjstz@126.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jonathan Neuschäfer <j.neuschaefer@gmx.net> </div>
<div style="display:none"> Gerrit-Reviewer: Paul Menzel <paulepanter@users.sourceforge.net> </div>
<div style="display:none"> Gerrit-Reviewer: Philipp Hug <philipp@hug.cx> </div>
<div style="display:none"> Gerrit-Reviewer: Shawn Chang <citypw@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Xiang Wang <wxjstz@126.com> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 09 Oct 2018 04:15:52 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>