Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99aa3473 authored by Ying Xue's avatar Ying Xue Committed by David S. Miller
Browse files

af_packet: Quiet sparse noise about using plain integer as NULL pointer



Quiets the sparse warning:
warning: Using plain integer as NULL pointer

Signed-off-by: default avatarYing Xue <ying.xue@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b9ad2baf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1079,7 +1079,7 @@ static void *packet_current_rx_frame(struct packet_sock *po,
	default:
		WARN(1, "TPACKET version not supported\n");
		BUG();
		return 0;
		return NULL;
	}
}