mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
Merge tag 'char-misc-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull Char/Misc updates from Greg KH: "Here is the big set of char/misc and other driver subsystem updates for 6.5-rc1. Lots of different, tiny, stuff in here, from a range of smaller driver subsystems, including pulls from some substems directly: - IIO driver updates and additions - W1 driver updates and fixes (and a new maintainer!) - FPGA driver updates and fixes - Counter driver updates - Extcon driver updates - Interconnect driver updates - Coresight driver updates - mfd tree tag merge needed for other updates on top of that, lots of small driver updates as patches, including: - static const updates for class structures - nvmem driver updates - pcmcia driver fix - lots of other small driver updates and fixes All of these have been in linux-next for a while with no reported problems" * tag 'char-misc-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (243 commits) bsr: fix build problem with bsr_class static cleanup comedi: make all 'class' structures const char: xillybus: make xillybus_class a static const structure xilinx_hwicap: make icap_class a static const structure virtio_console: make port class a static const structure ppdev: make ppdev_class a static const structure char: misc: make misc_class a static const structure /dev/mem: make mem_class a static const structure char: lp: make lp_class a static const structure dsp56k: make dsp56k_class a static const structure bsr: make bsr_class a static const structure oradax: make 'cl' a static const structure hwtracing: hisi_ptt: Fix potential sleep in atomic context hwtracing: hisi_ptt: Advertise PERF_PMU_CAP_NO_EXCLUDE for PTT PMU hwtracing: hisi_ptt: Export available filters through sysfs hwtracing: hisi_ptt: Add support for dynamically updating the filter list hwtracing: hisi_ptt: Factor out filter allocation and release operation samples: pfsm: add CC_CAN_LINK dependency misc: fastrpc: check return value of devm_kasprintf() coresight: dummy: Update type of mode parameter in dummy_{sink,source}_enable() ...
This commit is contained in:
@@ -214,7 +214,7 @@ static int __kstrncpy(char **dst, const char *name, size_t count, gfp_t gfp)
|
||||
{
|
||||
*dst = kstrndup(name, count, gfp);
|
||||
if (!*dst)
|
||||
return -ENOSPC;
|
||||
return -ENOMEM;
|
||||
return count;
|
||||
}
|
||||
|
||||
@@ -671,7 +671,7 @@ static ssize_t trigger_request_store(struct device *dev,
|
||||
|
||||
name = kstrndup(buf, count, GFP_KERNEL);
|
||||
if (!name)
|
||||
return -ENOSPC;
|
||||
return -ENOMEM;
|
||||
|
||||
pr_info("loading '%s'\n", name);
|
||||
|
||||
@@ -719,7 +719,7 @@ static ssize_t trigger_request_platform_store(struct device *dev,
|
||||
|
||||
name = kstrndup(buf, count, GFP_KERNEL);
|
||||
if (!name)
|
||||
return -ENOSPC;
|
||||
return -ENOMEM;
|
||||
|
||||
pr_info("inserting test platform fw '%s'\n", name);
|
||||
efi_embedded_fw.name = name;
|
||||
@@ -772,7 +772,7 @@ static ssize_t trigger_async_request_store(struct device *dev,
|
||||
|
||||
name = kstrndup(buf, count, GFP_KERNEL);
|
||||
if (!name)
|
||||
return -ENOSPC;
|
||||
return -ENOMEM;
|
||||
|
||||
pr_info("loading '%s'\n", name);
|
||||
|
||||
@@ -817,7 +817,7 @@ static ssize_t trigger_custom_fallback_store(struct device *dev,
|
||||
|
||||
name = kstrndup(buf, count, GFP_KERNEL);
|
||||
if (!name)
|
||||
return -ENOSPC;
|
||||
return -ENOMEM;
|
||||
|
||||
pr_info("loading '%s' using custom fallback mechanism\n", name);
|
||||
|
||||
@@ -868,7 +868,7 @@ static int test_fw_run_batch_request(void *data)
|
||||
|
||||
test_buf = kzalloc(TEST_FIRMWARE_BUF_SIZE, GFP_KERNEL);
|
||||
if (!test_buf)
|
||||
return -ENOSPC;
|
||||
return -ENOMEM;
|
||||
|
||||
if (test_fw_config->partial)
|
||||
req->rc = request_partial_firmware_into_buf
|
||||
|
Reference in New Issue
Block a user