spi: docbook: fix parsing error
PATCH 1/2 spi: docbook: fix parsing error
From: Martin Sperl <[email protected]>
Fixes docbook parsing error because documentation is not directly followed by the structure, but typedef used in structure.
Reordering should solve that issue.
--- include/linux/spi/spi.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
include/linux/spi/spi.h +4 -3
@@ -604,6 +604,10 @@ extern struct spi_master *spi_busnum_to_master(u16 busnum);* SPI resource management while processing a SPI message */ +typedef void (*spi_res_release_t )(struct spi_master *master, +struct spi_message *msg, +void *res); +/** * struct spi_res - spi resource management structure * @entry: list entry
@@ -613,9 +617,6 @@ extern struct spi_master *spi_busnum_to_master(u16 busnum);* this is based on ideas from devres, but focused on life-cycle * management during spi_message processing */ -typedef void (*spi_res_release_t )(struct spi_master *master, -struct spi_message *msg, -void *res);struct spi_res {struct list_head entry;spi_res_release_t release;
Signature · 6 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1455810791-3669-1-git-send-email-kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org
PATCH 2/2 spi: docbook: add missing parameter documentation
From: Martin Sperl <[email protected]>
Add missing docbook documentation for the gfp parameter in function spi_replace_transfers.
--- drivers/spi/spi.c | 1 + 1 file changed, 1 insertion(+)
drivers/spi/spi.c +1 -0
@@ -2164,6 +2164,7 @@ static void __spi_replace_transfers_release(struct spi_master *master,* @release: extra release code necessary in some circumstances * @extradatasize: extra data to allocate (with alignment guarantees * of struct @spi_transfer) +* @gfp: gfp flags * * Returns: pointer to @spi_replaced_transfers, * PTR_ERR(...) in case of errors.
Signature · 6 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1455810791-3669-2-git-send-email-kernel-TqfNSX0MhmxHKSADF0wUEw@public.gmane.org
Applied "spi: docbook: add missing parameter documentation" to the spi tree
The patch
spi: docbook: add missing parameter documentation
has been applied to the spi tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
058853979ffc6a1e83c913a692aff8db84f6c417Mon Sep 17 00:00:00 2001
From: Martin Sperl <[email protected]>
Date: Thu, 18 Feb 2016 15:53:11 +0000
Subject: [PATCH] spi: docbook: add missing parameter documentation
Add missing docbook documentation for the gfp parameter in function spi_replace_transfers.
--- drivers/spi/spi.c | 1 + 1 file changed, 1 insertion(+)
drivers/spi/spi.c +1 -0
@@ -2142,6 +2142,7 @@ static void __spi_replace_transfers_release(struct spi_master *master,* @release: extra release code necessary in some circumstances * @extradatasize: extra data to allocate (with alignment guarantees * of struct @spi_transfer) +* @gfp: gfp flags * * Returns: pointer to @spi_replaced_transfers, * PTR_ERR(...) in case of errors.
Signature · 6 lines
2.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Applied "spi: docbook: fix parsing error" to the spi tree
In reply to a message not in the archiveThe patch
spi: docbook: fix parsing error
has been applied to the spi tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
d6497816836da321a46c0e8575c4fa3d0c672bdaMon Sep 17 00:00:00 2001
From: Martin Sperl <[email protected]>
Date: Thu, 18 Feb 2016 15:53:10 +0000
Subject: [PATCH] spi: docbook: fix parsing error
Fixes docbook parsing error because documentation is not directly followed by the structure, but typedef used in structure.
Reordering should solve that issue.
--- include/linux/spi/spi.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
include/linux/spi/spi.h +4 -3
@@ -586,6 +586,10 @@ extern struct spi_master *spi_busnum_to_master(u16 busnum);* SPI resource management while processing a SPI message */ +typedef void (*spi_res_release_t )(struct spi_master *master, +struct spi_message *msg, +void *res); +/** * struct spi_res - spi resource management structure * @entry: list entry
@@ -595,9 +599,6 @@ extern struct spi_master *spi_busnum_to_master(u16 busnum);* this is based on ideas from devres, but focused on life-cycle * management during spi_message processing */ -typedef void (*spi_res_release_t )(struct spi_master *master, -struct spi_message *msg, -void *res);struct spi_res {struct list_head entry;spi_res_release_t release;
Signature · 6 lines
2.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html