<p>Alex James has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/25677">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sb/intel/common/rcba_pirq: Fix clang enum conversion error<br><br>This fixes the following clang error:<br><br>src/southbridge/intel/common/rcba_pirq.c:30:10: error: implicit conversion<br>    from enumeration type 'const pci_pin_t' (aka 'const enum pci_pin') to<br>    different enumeration type 'enum pirq' [-Werror,-Wenum-conversion]<br>                return pci_pin;<br>                ~~~~~~ ^~~~~~~<br><br>Change-Id: I66cfd6f0ebab750149d1ea1bc7425fc3b17bb253<br>Signed-off-by: Alex James <theracermaster@gmail.com><br>---<br>M src/southbridge/intel/common/rcba_pirq.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/77/25677/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/southbridge/intel/common/rcba_pirq.c b/src/southbridge/intel/common/rcba_pirq.c</span><br><span>index 44d2f3d..411418a 100644</span><br><span>--- a/src/southbridge/intel/common/rcba_pirq.c</span><br><span>+++ b/src/southbridge/intel/common/rcba_pirq.c</span><br><span>@@ -27,7 +27,7 @@</span><br><span> </span><br><span>    if (slot < MIN_SLOT || slot > MAX_SLOT) {</span><br><span>              /* non-PCH devices use 1:1 mapping. */</span><br><span style="color: hsl(0, 100%, 40%);">-          return pci_pin;</span><br><span style="color: hsl(120, 100%, 40%);">+               return (pirq_t) pci_pin;</span><br><span>     }</span><br><span> </span><br><span>        reg = pirq_dir_route_reg[slot - MIN_SLOT];</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/25677">change 25677</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/25677"/><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: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I66cfd6f0ebab750149d1ea1bc7425fc3b17bb253 </div>
<div style="display:none"> Gerrit-Change-Number: 25677 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alex James <theracermaster@gmail.com> </div>