lib: remove MODULE_LICENSE in non-modulesSince commit 8b41fc4454e ("kbuild: create modules.builtin withoutMakefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarationsare used to identify m
lib: remove MODULE_LICENSE in non-modulesSince commit 8b41fc4454e ("kbuild: create modules.builtin withoutMakefile.modbuiltin or tristate.conf"), MODULE_LICENSE declarationsare used to identify modules. As a consequence, uses of the macroin non-modules will cause modprobe to misidentify their containingobject file as a module when it is not (false positives), and modprobemight succeed rather than failing with a suitable error message.So remove it in the files in this commit, none of which can be built asmodules.Signed-off-by: Nick Alcock <nick.alcock@oracle.com>Suggested-by: Luis Chamberlain <mcgrof@kernel.org>Acked-by: Jacob Keller <jacob.e.keller@intel.com>Cc: Luis Chamberlain <mcgrof@kernel.org>Cc: linux-modules@vger.kernel.orgCc: linux-kernel@vger.kernel.orgCc: Hitomi Hasegawa <hasegawa-hitomi@fujitsu.com>Cc: Jacob Keller <jacob.e.keller@intel.com>Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
show more ...
lib: fix spelling mistakesFix some spelling mistakes in comments:permanentely ==> permanentlywont ==> won'tremaning ==> remainingsucced ==> succeedshouldnt ==> shouldn'talpha-numeric ==> alph
lib: fix spelling mistakesFix some spelling mistakes in comments:permanentely ==> permanentlywont ==> won'tremaning ==> remainingsucced ==> succeedshouldnt ==> shouldn'talpha-numeric ==> alphanumericstoreing ==> storingfuntion ==> functiondocumenation ==> documentationDetermin ==> Determineintepreted ==> interpretedammount ==> amountobious ==> obviousinterupts ==> interruptsoccured ==> occurredasssociated ==> associatedtaking into acount ==> taking into accountsquence ==> sequencestil ==> stillcontiguos ==> contiguousmatchs ==> matchesLink: https://lkml.kernel.org/r/20210607072555.12416-1-thunder.leizhen@huawei.comSigned-off-by: Zhen Lei <thunder.leizhen@huawei.com>Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>Signed-off-by: Andrew Morton <akpm@linux-foundation.org>Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Add pldmfw library for PLDM firmware updateThe pldmfw library is used to implement common logic needed to flashdevices based on firmware files using the format described by the PLDMfor Firmware U
Add pldmfw library for PLDM firmware updateThe pldmfw library is used to implement common logic needed to flashdevices based on firmware files using the format described by the PLDMfor Firmware Update standard.This library consists of logic to parse the PLDM file format froma firmware file object, as well as common logic for sending the relevantPLDM header data to the device firmware.A simple ops table is provided so that device drivers can implementdevice specific hardware interactions while keeping the common logic tothe pldmfw library.This library will be used by the Intel ice networking driver as part ofimplementing device flash update via devlink. The library aims to bevendor and device agnostic. For this reason, it has been placed inlib/pldmfw, in the hopes that other devices which use the PLDM firmwarefile format may benefit from it in the future. However, do note that notall features defined in the PLDM standard have been implemented.Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>Signed-off-by: David S. Miller <davem@davemloft.net>