Thread (4 messages) flat view 4 messages, 2 authors, 2009-08-14

Re: [PATCH] s2io: Remove unnecessary casts

From: David Miller <davem@davemloft.net>
Date: 2009-08-14 03:14:41
Also in: kernel-janitors

From: Davidlohr Bueso <redacted>
Date: Thu, 13 Aug 2009 22:03:28 -0400
No need to cast kmalloc.

Signed-off-by: Davidlohr Bueso <redacted>
Yeah but:
 
-                                       ba->ba_0_org = (void *) kmalloc
-                                           (BUF0_LEN + ALIGN_SIZE, GFP_KERNEL);
+                                       ba->ba_0_org = kmalloc(BUF0_LEN + ALIGN_SIZE, GFP_KERNEL);
Now the code line extends way over 80 columns.

Please fix this up and resubmit.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help