Re: [PATCH v2] scsi: sd: Make protection lookup tables static and relocate functions

From: Martin K. Petersen
Date: Tue Jan 08 2019 - 22:30:37 EST



John,

> Currently the protection lookup tables in sd_prot_flag_mask() and
> sd_prot_op() are declared as non-static. As such, they will be rebuilt
> for each respective function call.
>
> Optimise by making them static.

Applied to 5.1/scsi-queue, thank you!

--
Martin K. Petersen Oracle Linux Engineering