On Wed, Jun 28, 2017 at 03:31:16PM +0530, Arvind Yadav wrote: > Most dma_map_ops structures are never modified. Constify these > structures such that these can be write-protected. This file size diff > will show the difference between data and text segment.
I know what the diff shows, but it doesn't matter for this patch because thats just an implementation detail of the compiler. The real reason for making it 'const' is to write-protect them, and that should be clear in the commit-message. Joerg