Re: [PATCH] declance: Remove `incompatible pointer type' warnings
From: David Miller <davem@davemloft.net>
Date: 2013-09-20 18:43:05
From: David Miller <davem@davemloft.net>
Date: 2013-09-20 18:43:05
From: "Maciej W. Rozycki" <redacted> Date: Fri, 20 Sep 2013 00:49:44 +0100 (BST)
Revert damage caused by 43d620c82985b19008d87a437b4cf83f356264f7: .../declance.c: In function 'cp_to_buf': .../declance.c:347: warning: assignment from incompatible pointer type .../declance.c:348: warning: assignment from incompatible pointer type .../declance.c: In function 'cp_from_buf': .../declance.c:406: warning: assignment from incompatible pointer type .../declance.c:407: warning: assignment from incompatible pointer type Also add a `const' qualifier where applicable and adjust formatting. Signed-off-by: Maciej W. Rozycki <redacted>
Applied to net-next