[RFC PATCH 1/1] nvme: add a dedicated .c file for sysfs interface

Jens Axboe axboe at kernel.dk
Mon Apr 24 06:56:13 PDT 2023


On 4/24/23 7:38?AM, Sagi Grimberg wrote:
>> diff --git a/drivers/nvme/host/sysfs.c b/drivers/nvme/host/sysfs.c
>> new file mode 100644
>> index 000000000000..8d2aabe2d290
>> --- /dev/null
>> +++ b/drivers/nvme/host/sysfs.c
>> @@ -0,0 +1,657 @@
>> +// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
> 
> Linux-OpenIB ?
> 
>> +/*
>> + * Sysfs interface for the NVMe core driver.
>> + *
>> + * Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
> 
> Not an expert in this matter, but does copy-pasting full hunk of code
> from one file to a new one qualify for copyrights claims?

IANAL, but that seems bogus for sure. Adding a copyright claim for just
moving code is nonsense.

-- 
Jens Axboe




More information about the Linux-nvme mailing list