2021-06-08 21:26:27

by Tom Rix

[permalink] [raw]
Subject: [PATCH 00/11] fpga: change FPGA indirect article to an

From: Tom Rix <[email protected]>

A treewide followup of
https://lore.kernel.org/linux-fpga/[email protected]/

Change the use of 'a fpga' to 'an fpga'
Ref usage in wiki
https://en.wikipedia.org/wiki/Field-programmable_gate_array
and Intel's 'FPGAs For Dummies'
https://plan.seek.intel.com/PSG_WW_NC_LPCD_FR_2018_FPGAforDummiesbook

Change was mechanical
!/bin/sh
for f in `find . -type f`; do
sed -i.bak 's/ a fpga/ an fpga/g' $f
sed -i.bak 's/ A fpga/ An fpga/g' $f
sed -i.bak 's/ a FPGA/ an FPGA/g' $f
sed -i.bak 's/ A FPGA/ An FPGA/g' $f
done


Tom Rix (11):
dt-bindings: fpga: fpga-region: change FPGA indirect article to an
Documentation: fpga: dfl: change FPGA indirect article to an
Documentation: ocxl.rst: change FPGA indirect article to an
crypto: marvell: cesa: change FPGA indirect article to an
fpga: change FPGA indirect article to an
fpga: bridge: change FPGA indirect article to an
fpga-mgr: change FPGA indirect article to an
fpga: region: change FPGA indirect article to an
fpga: of-fpga-region: change FPGA indirect article to an
fpga: stratix10-soc: change FPGA indirect article to an
staging: fpgaboot: change FPGA indirect article to an

.../devicetree/bindings/fpga/fpga-region.txt | 22 +++++++++----------
Documentation/fpga/dfl.rst | 4 ++--
.../userspace-api/accelerators/ocxl.rst | 2 +-
drivers/crypto/marvell/cesa/cesa.h | 2 +-
drivers/fpga/Kconfig | 4 ++--
drivers/fpga/fpga-bridge.c | 22 +++++++++----------
drivers/fpga/fpga-mgr.c | 22 +++++++++----------
drivers/fpga/fpga-region.c | 14 ++++++------
drivers/fpga/of-fpga-region.c | 8 +++----
drivers/fpga/stratix10-soc.c | 2 +-
drivers/staging/gs_fpgaboot/README | 2 +-
include/linux/fpga/fpga-bridge.h | 2 +-
include/linux/fpga/fpga-mgr.h | 2 +-
13 files changed, 54 insertions(+), 54 deletions(-)

--
2.26.3


2021-06-08 21:26:48

by Tom Rix

[permalink] [raw]
Subject: [PATCH 09/11] fpga: of-fpga-region: change FPGA indirect article to an

From: Tom Rix <[email protected]>

Change use of 'a fpga' to 'an fpga'

Signed-off-by: Tom Rix <[email protected]>
---
drivers/fpga/of-fpga-region.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/fpga/of-fpga-region.c b/drivers/fpga/of-fpga-region.c
index e405309baadc1..e3c25576b6b9d 100644
--- a/drivers/fpga/of-fpga-region.c
+++ b/drivers/fpga/of-fpga-region.c
@@ -181,7 +181,7 @@ static int child_regions_with_firmware(struct device_node *overlay)
* @region: FPGA region
* @overlay: overlay applied to the FPGA region
*
- * Given an overlay applied to a FPGA region, parse the FPGA image specific
+ * Given an overlay applied to an FPGA region, parse the FPGA image specific
* info in the overlay and do some checking.
*
* Returns:
@@ -273,7 +273,7 @@ static struct fpga_image_info *of_fpga_region_parse_ov(
* @region: FPGA region that the overlay was applied to
* @nd: overlay notification data
*
- * Called when an overlay targeted to a FPGA Region is about to be applied.
+ * Called when an overlay targeted to an FPGA Region is about to be applied.
* Parses the overlay for properties that influence how the FPGA will be
* programmed and does some checking. If the checks pass, programs the FPGA.
* If the checks fail, overlay is rejected and does not get added to the
@@ -336,8 +336,8 @@ static void of_fpga_region_notify_post_remove(struct fpga_region *region,
* @action: notifier action
* @arg: reconfig data
*
- * This notifier handles programming a FPGA when a "firmware-name" property is
- * added to a fpga-region.
+ * This notifier handles programming an FPGA when a "firmware-name" property is
+ * added to an fpga-region.
*
* Returns NOTIFY_OK or error if FPGA programming fails.
*/
--
2.26.3

2021-06-08 21:28:35

by Tom Rix

[permalink] [raw]
Subject: [PATCH 10/11] fpga: stratix10-soc: change FPGA indirect article to an

From: Tom Rix <[email protected]>

Change use of 'a fpga' to 'an fpga'

Signed-off-by: Tom Rix <[email protected]>
---
drivers/fpga/stratix10-soc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c
index 657a70c5fc996..2aeb53f8e9d0f 100644
--- a/drivers/fpga/stratix10-soc.c
+++ b/drivers/fpga/stratix10-soc.c
@@ -271,7 +271,7 @@ static int s10_send_buf(struct fpga_manager *mgr, const char *buf, size_t count)
}

/*
- * Send a FPGA image to privileged layers to write to the FPGA. When done
+ * Send an FPGA image to privileged layers to write to the FPGA. When done
* sending, free all service layer buffers we allocated in write_init.
*/
static int s10_ops_write(struct fpga_manager *mgr, const char *buf,
--
2.26.3