Message ID | 20240626101342.1440049-1-prabhakar.pujeri@gmail.com |
---|---|
Headers | show |
Series | SCSI: Replace ternary operations with min()/max() macros | expand |
Hi Prabhakar! > This patch series, generated using Coccinelle, aims to improve code > readability and maintainability by replacing ternary operations with > the min() and max() macros where applicable in the SCSI subsystem. Your proposed changes do not improve maintainability. They are creating additional maintenance work and making backports of bug fixes more difficult. Plus they introduce the potential for regressions of tried and true code. So the series has the opposite effect of what is claimed. Readability is in the eye of the beholder. Whether to use one approach or the other is the code author's choice...
On 6/26/24 3:13 AM, Prabhakar Pujeri wrote: > The patches have been compiled and tested on an x86_64 system. > Physical device testing was conducted for the megaraid_sas and mpi3mr > drivers. Compiled? Really? So why is the kernel test robot complaining? A script that builds all SCSI drivers is available here: https://github.com/bvanassche/build-scsi-drivers Bart.