Re: checkpatch: CHECK: No space is necessary after a cast

2015-02-19 Thread Joe Perches
On Thu, 2015-02-19 at 13:35 +0800, Marek Lindner wrote: > Hi Joe, Hi Marek > we have come across a checkpatch false-positive: [] > BUILD_BUG_ON(sizeof(struct batadv_bla_claim_dst) != 6); > CHECK: No space is necessary after a cast > #440: FILE: main.c:440: > + BUILD_BUG_ON(sizeof(stru

Re: checkpatch: CHECK: No space is necessary after a cast

2014-09-29 Thread Kalle Valo
Joe Perches writes: > On Mon, 2014-09-29 at 14:49 +0300, Kalle Valo wrote: >> Hi Joe, >> >> I have a problem with checkpatch. On ath10k we have this function: >> >> static inline struct ath10k_skb_cb *ATH10K_SKB_CB(struct sk_buff *skb) >> { >> BUILD_BUG_ON(sizeof(struct ath10k_skb_cb) > >>

Re: checkpatch: CHECK: No space is necessary after a cast

2014-09-29 Thread Joe Perches
On Mon, 2014-09-29 at 14:49 +0300, Kalle Valo wrote: > Hi Joe, > > I have a problem with checkpatch. On ath10k we have this function: > > static inline struct ath10k_skb_cb *ATH10K_SKB_CB(struct sk_buff *skb) > { > BUILD_BUG_ON(sizeof(struct ath10k_skb_cb) > >IEEE80211_T