Re: [PATCH] RDMA/hfi1: Convert to SPDX identifier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23 Aug 21 14:31:15, Dennis Dalessandro wrote:
> 
> 
> On 8/23/21 12:26 AM, Cai Huoqing wrote:
> > use SPDX-License-Identifier instead of a verbose license text
> > 
> > Signed-off-by: Cai Huoqing <caihuoqing@xxxxxxxxx>
> > ---
> >  drivers/infiniband/hw/hfi1/affinity.c       | 45 +------------------
> >  drivers/infiniband/hw/hfi1/affinity.h       | 45 +------------------
> >  drivers/infiniband/hw/hfi1/aspm.h           | 45 +------------------
> >  drivers/infiniband/hw/hfi1/chip.c           | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/chip.h           | 48 ++------------------
> >  drivers/infiniband/hw/hfi1/chip_registers.h | 50 ++-------------------
> >  drivers/infiniband/hw/hfi1/common.h         | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/debugfs.c        | 45 +------------------
> >  drivers/infiniband/hw/hfi1/debugfs.h        | 49 ++------------------
> >  drivers/infiniband/hw/hfi1/device.c         | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/device.h         | 49 ++------------------
> >  drivers/infiniband/hw/hfi1/driver.c         | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/efivar.c         | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/efivar.h         | 45 +------------------
> >  drivers/infiniband/hw/hfi1/eprom.c          | 45 +------------------
> >  drivers/infiniband/hw/hfi1/eprom.h          | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/exp_rcv.c        | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/exp_rcv.h        | 48 ++------------------
> >  drivers/infiniband/hw/hfi1/fault.c          | 45 +------------------
> >  drivers/infiniband/hw/hfi1/fault.h          | 50 +++------------------
> >  drivers/infiniband/hw/hfi1/file_ops.c       | 45 +------------------
> >  drivers/infiniband/hw/hfi1/firmware.c       | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/hfi.h            | 49 ++------------------
> >  drivers/infiniband/hw/hfi1/init.c           | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/intr.c           | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/iowait.h         | 49 ++------------------
> >  drivers/infiniband/hw/hfi1/mad.c            | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/mad.h            | 45 +------------------
> >  drivers/infiniband/hw/hfi1/mmu_rb.c         | 45 +------------------
> >  drivers/infiniband/hw/hfi1/mmu_rb.h         | 45 +------------------
> >  drivers/infiniband/hw/hfi1/msix.c           | 43 ------------------
> >  drivers/infiniband/hw/hfi1/msix.h           | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/opa_compat.h     | 48 ++------------------
> >  drivers/infiniband/hw/hfi1/pcie.c           | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/pio.c            | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/pio.h            | 48 ++------------------
> >  drivers/infiniband/hw/hfi1/pio_copy.c       | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/platform.c       | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/platform.h       | 45 +------------------
> >  drivers/infiniband/hw/hfi1/qp.c             | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/qp.h             | 48 ++------------------
> >  drivers/infiniband/hw/hfi1/qsfp.c           | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/qsfp.h           | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/rc.c             | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/ruc.c            | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/sdma.c           | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/sdma.h           | 49 ++------------------
> >  drivers/infiniband/hw/hfi1/sdma_txreq.h     | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/sysfs.c          | 45 +------------------
> >  drivers/infiniband/hw/hfi1/trace.c          | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/trace.h          | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/trace_ctxts.h    | 45 +------------------
> >  drivers/infiniband/hw/hfi1/trace_dbg.h      | 45 +------------------
> >  drivers/infiniband/hw/hfi1/trace_ibhdrs.h   | 45 +------------------
> >  drivers/infiniband/hw/hfi1/trace_misc.h     | 45 +------------------
> >  drivers/infiniband/hw/hfi1/trace_mmu.h      | 45 +------------------
> >  drivers/infiniband/hw/hfi1/trace_rc.h       | 45 +------------------
> >  drivers/infiniband/hw/hfi1/trace_rx.h       | 45 +------------------
> >  drivers/infiniband/hw/hfi1/trace_tx.h       | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/uc.c             | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/ud.c             | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/user_exp_rcv.c   | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/user_exp_rcv.h   | 49 ++------------------
> >  drivers/infiniband/hw/hfi1/user_pages.c     | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/user_sdma.c      | 45 +------------------
> >  drivers/infiniband/hw/hfi1/user_sdma.h      | 49 ++------------------
> >  drivers/infiniband/hw/hfi1/verbs.c          | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/verbs.h          | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/verbs_txreq.c    | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/verbs_txreq.h    | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/vnic.h           | 48 ++------------------
> >  drivers/infiniband/hw/hfi1/vnic_main.c      | 44 +-----------------
> >  drivers/infiniband/hw/hfi1/vnic_sdma.c      | 44 +-----------------
> >  73 files changed, 133 insertions(+), 3170 deletions(-)
> 
> Never really seen the need for this large code churn. Is it really necessary?
> Maybe it would be better to just touch this up the next time we actaully have to
> patch a particular file.
> 
> -Denny

thanks for your feedback, I just try to change them in only one patch
it is a good refator, replace 40+ lines with one line :)



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux