Thread (1 message) 1 message, 1 author, 2018-03-14

Re: [PATCH] brcmfmac: drop Inter-Access Point Protocol packets by default

From: Kalle Valo <hidden>
Date: 2018-03-14 16:10:12
Also in: bridge, linux-wireless

Rafał Miłecki [off-list ref] writes:
quoted
quoted
+	unsigned char *eth_data = skb_mac_header(skb) + ETH_HLEN;
+#if !defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS)
#ifndef?
I followed what is used in the include/linux/etherdevice.h. Is that a
good exceuse? Could it be there any some good reason for #if defined()?
Don't know, maybe just a matter of taste? But it would be nice to know
the background behind #ifdef vs #if defined(), never figured it out why
two different forms.

-- 
Kalle Valo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help