Re: [PATCH 05/50] wifi: ath12k: add core.c

Kalle Valo
2022-10-21T08:32:15Z

Ping-Ke Shih <pkshih@realtek.com> writes:

>> -----Original Message-----
>> From: Kalle Valo <kvalo@kernel.org>
>> Sent: Saturday, August 13, 2022 12:09 AM
>> To: linux-wireless@vger.kernel.org
>> Cc: ath12k@lists.infradead.org
>> Subject: [PATCH 05/50] wifi: ath12k: add core.c
>>
>> From: Kalle Valo <quic_kvalo@quicinc.com>
>>
>> (Patches split into one patch per file for easier review, but the final
>> commit will be one big patch. See the cover letter for more info.)
>>
>> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>

[...]

>> +MODULE_DESCRIPTION("Core module for Qualcomm Atheros 802.11be
>> wireless LAN cards.");
>> +MODULE_LICENSE("Dual BSD/GPL");
>
> // SPDX-License-Identifier: BSD-3-Clause-Clear
>
> Out of curiosity, SPDX license and MODULE_LICENSE() are different.
> Could I know the rules?

The rules are in linux/module.h:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/module.h#n185

--