Files
linux-stable-mirror/include/linux
Alexander Shishkin ce76d938dd lib: Add memcat_p(): paste 2 pointer arrays together
This adds a helper to paste 2 pointer arrays together, useful for merging
various types of attribute arrays. There are a few places in the kernel
tree where this is open coded, and I just added one more in the STM class.

The naming is inspired by memset_p() and memcat(), and partial credit for
it goes to Andy Shevchenko.

This patch adds the function wrapped in a type-enforcing macro and a test
module.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-11 12:12:55 +02:00
..
2018-08-09 14:05:30 -07:00
2018-08-22 10:52:48 -07:00
2018-09-04 21:31:43 +02:00
2018-08-08 11:06:20 +02:00
2018-08-22 10:52:45 -07:00
2018-08-22 10:52:46 -07:00
2018-08-02 17:33:06 -04:00
2018-08-16 12:14:42 -07:00
2018-09-25 20:33:24 +02:00