Re: [XFRM]: constify 'struct xfrm_type'
From: Eric Dumazet <hidden>
Date: 2008-01-24 18:28:50
From: Eric Dumazet <hidden>
Date: 2008-01-24 18:28:50
Joe Perches a écrit :
On Thu, 2008-01-24 at 12:26 +0100, Eric Dumazet wrote:quoted
- struct xfrm_type *type; + const struct xfrm_type *type;Perhaps const foo * const bar; for most or all of these conversions?
Hum... Having const data is nice because moving them from .data to .rodata, but what would be practical gains to use a const pointer ???