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

Commit c650538f authored by Kalle Valo's avatar Kalle Valo
Browse files

ath6kl: fix checkpatch error with EPSTAT() macro



ath6kl/debug.c:739: ERROR: Macros with complex values should be
enclosed in parenthesis

Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 51b56e26
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -740,9 +740,13 @@ static ssize_t ath6kl_endpoint_stats_read(struct file *file,
		return -ENOMEM;

#define EPSTAT(name)							\
	do {								\
		len = print_endpoint_stat(target, buf, buf_len, len,	\
				  offsetof(struct htc_endpoint_stats, name), \
				  #name)
					  offsetof(struct htc_endpoint_stats, \
						   name),		\
					  #name);			\
	} while (0)

	EPSTAT(cred_low_indicate);
	EPSTAT(tx_issued);
	EPSTAT(tx_pkt_bundled);