Search Linux Wireless

Re: [RFC v2 19/96] cl8k: add def.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/24/2022 4:33 AM, viktor.barna@xxxxxxxxxx wrote:
From: Viktor Barna <viktor.barna@xxxxxxxxxx>
[snip]
+#define ASSERT_ERR(condition) \
+	do { \
+		if (unlikely(!(condition))) \
+			cl_dbg_err(cl_hw, ":ASSERT_ERR(" #condition ")\n"); \
+	} while (0)
+
+#define ASSERT_ERR_CHIP(condition) \
+	do { \
+		if (unlikely(!(condition))) \
+			cl_dbg_chip_err(chip, ":ASSERT_ERR(" #condition ")\n"); \
+	} while (0)

Again you have macros with magic names cl_hw & chip




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux