Searched hist:ce76d938dd98817f998c905e01fbb99b072c0bf6 (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/lib/ |
H A D | test_memcat_p.c | ce76d938dd98817f998c905e01fbb99b072c0bf6 Fri Oct 05 07:43:05 CDT 2018 Alexander Shishkin <alexander.shishkin@linux.intel.com> 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>
|
H A D | string.c | ce76d938dd98817f998c905e01fbb99b072c0bf6 Fri Oct 05 07:43:05 CDT 2018 Alexander Shishkin <alexander.shishkin@linux.intel.com> 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>
|
H A D | Makefile | ce76d938dd98817f998c905e01fbb99b072c0bf6 Fri Oct 05 07:43:05 CDT 2018 Alexander Shishkin <alexander.shishkin@linux.intel.com> 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>
|
H A D | Kconfig.debug | ce76d938dd98817f998c905e01fbb99b072c0bf6 Fri Oct 05 07:43:05 CDT 2018 Alexander Shishkin <alexander.shishkin@linux.intel.com> 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>
|
/openbmc/linux/include/linux/ |
H A D | string.h | ce76d938dd98817f998c905e01fbb99b072c0bf6 Fri Oct 05 07:43:05 CDT 2018 Alexander Shishkin <alexander.shishkin@linux.intel.com> 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>
|