lkml.org 
[lkml]   [2017]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/6] constify pci_error_handlers structures
On Sat, Aug 12, 2017 at 07:44:28AM +0200, Julia Lawall wrote:
> These pci_error_handlers structures are only stored in the err_handler
> field of a pci_driver structure, and this field is declared as const. Thus
> the pci_error_handlers structures can be const too.
>
> Done with the help of Coccinelle.

If you're doing a scripted conversion of the pci_error_handlers
structured I'd much rather see that structure killed off and folded
into the pci_driver one.

\
 
 \ /
  Last update: 2017-08-12 09:45    [W:0.064 / U:8.600 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site