<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/3914#discussion_r40066551">drivers/kw2xrf/kw2xrf.c</a>:</p>
<pre style='color:#555'>> +        case NETOPT_IPV6_IID:
> +            if (max_len < sizeof(eui64_t)) {
> +                return -EOVERFLOW;
> +            }
> +            if (dev->option & KW2XRF_OPT_SRC_ADDR_LONG) {
> +                uint64_t addr = kw2xrf_get_addr_long(dev);
> +                ieee802154_get_iid(value, (uint8_t *)&addr, 8);
> +            }
> +            else {
> +                uint16_t addr = kw2xrf_get_addr_short(dev);
> +                ieee802154_get_iid(value, (uint8_t *)&addr, 2);
> +            }
> +            return sizeof(eui64_t);
> +
> +
> +
</pre>
<p>Please remove extra newlines.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/RIOT-OS/RIOT/pull/3914/files#r40066551">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AEn7YJYVlZneM1IOaE2GFQ0XBAG1tNAYks5o0RUpgaJpZM4GBATk.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/RIOT-OS/RIOT/pull/3914/files#r40066551"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>