mirror of
https://github.com/apache/nuttx.git
synced 2026-09-27 18:58:27 +08:00
net: unify FAR keyword usage for all net buffer memory mapped buffers
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
fc3167b584
commit
08043fb5bc
@@ -2271,7 +2271,7 @@ static void cdcmbim_receive(struct usbhost_cdcmbim_s *priv,
|
||||
priv->netdev.d_buf = buf;
|
||||
priv->netdev.d_len = len;
|
||||
|
||||
switch (((struct ipv4_hdr_s *)buf)->vhl & IP_VERSION_MASK)
|
||||
switch (((FAR struct ipv4_hdr_s *)buf)->vhl & IP_VERSION_MASK)
|
||||
{
|
||||
#ifdef CONFIG_NET_IPv4
|
||||
case IPv4_VERSION:
|
||||
|
||||
Reference in New Issue
Block a user