Skip to contentSkip to conversation

scripts/spelling.txt: add "fimware" misspelling

PATCH In review Kees Cook 2 participants 3 messages Apr 26, 2016 – Apr 27, 2016

Subsystems (4)
lore
Share & tools
lore

Kees Cook

author
#0 lore raw

PATCH 1/1 scripts/spelling.txt: add "fimware" misspelling

A few instances of "fimware" instead of "firmware" were found. Fix these and add it to the spelling.txt file.

---
Looks like spelling.txt changes have been going in through -mm?

---
 drivers/media/usb/dvb-usb/dib0700_core.c      | 2 +-
 drivers/scsi/bfa/bfi.h                        | 2 +-
 drivers/staging/comedi/drivers/daqboard2000.c | 2 +-
 scripts/spelling.txt                          | 1 +
 4 files changed, 4 insertions(+), 3 deletions(-)
drivers/media/usb/dvb-usb/dib0700_core.c +1 -1
index c16f999b9d7c..bf890c3d9cda 100644
@@ -517,7 +517,7 @@ int dib0700_download_firmware(struct usb_device *udev, const struct firmware *fw
 	if (nb_packet_buffer_size < 1)
 		nb_packet_buffer_size = 1;
 
-	/* get the fimware version */
+	/* get the firmware version */
 	usb_control_msg(udev, usb_rcvctrlpipe(udev, 0),
 				  REQUEST_GET_VERSION,
 				  USB_TYPE_VENDOR | USB_DIR_IN, 0, 0,
drivers/scsi/bfa/bfi.h +1 -1
index 97600dcec649..5f698d038b21 100644
@@ -356,7 +356,7 @@ struct bfi_ioc_image_hdr_s {
 	u8	port0_mode;	/* device mode for port 0	*/
 	u8	port1_mode;	/* device mode for port 1	*/
 	u32	exec;		/* exec vector			*/
-	u32	bootenv;	/* fimware boot env		*/
+	u32	bootenv;	/* firmware boot env		*/
 	u32	rsvd_b[2];
 	struct bfi_ioc_fwver_s	fwver;
 	u32	md5sum[BFI_IOC_MD5SUM_SZ];
drivers/staging/comedi/drivers/daqboard2000.c +1 -1
index 57ab6680e3ae..a536a15c1d30 100644
@@ -26,7 +26,7 @@
  * Much of the functionality of this driver was determined from reading
  * the source code for the Windows driver.
  *
- * The FPGA on the board requires fimware, which is available from
+ * The FPGA on the board requires firmware, which is available from
  * http://www.comedi.org in the comedi_nonfree_firmware tarball.
  *
  * Configuration options: not applicable, uses PCI auto config
scripts/spelling.txt +1 -0
index 946caf3bd694..fa79c6d2a5b8 100644
@@ -428,6 +428,7 @@ feautures||features
 fetaure||feature
 fetaures||features
 fileystem||filesystem
+fimware||firmware
 finanize||finalize
 findn||find
 finilizes||finalizes
Signature · 6 lines
2.6.3


-- 
Kees Cook
Chrome OS & Brillo Security
#1 lore raw

Hi, Kees Cook

* From: Kees Cook [mailto:[email protected]]

Quoted 11 lines

Sent: Wednesday, April 27, 2016 7:48 AM
To: Andrew Morton <[email protected]>
Cc: Randy Dunlap <[email protected]>; Andy Whitcroft <[email protected]>; Joe Perches <[email protected]>; Zhao Lei <[email protected]>; [email protected]; [email protected]
Subject: [PATCH] scripts/spelling.txt: add "fimware" misspelling

A few instances of "fimware" instead of "firmware" were found. Fix these and add it to the spelling.txt file.

Better to add this change:

  # grep fimware * -R
  Documentation/firmware_class/README:    - kernel searchs the fimware image with name $FIRMWARE directly

Thanks
Zhaolei

Quoted 72 lines

---
Looks like spelling.txt changes have been going in through -mm?

---
 drivers/media/usb/dvb-usb/dib0700_core.c      | 2 +-
 drivers/scsi/bfa/bfi.h                        | 2 +-
 drivers/staging/comedi/drivers/daqboard2000.c | 2 +-
 scripts/spelling.txt                          | 1 +
 4 files changed, 4 insertions(+), 3 deletions(-)
drivers/media/usb/dvb-usb/dib0700_core.c +1 -1
index c16f999b9d7c..bf890c3d9cda 100644
@@ -517,7 +517,7 @@ int dib0700_download_firmware(struct usb_device
 *udev, const struct firmware *fw
 	if (nb_packet_buffer_size < 1)
 		nb_packet_buffer_size = 1;
 
-	/* get the fimware version */
+	/* get the firmware version */
 	usb_control_msg(udev, usb_rcvctrlpipe(udev, 0),
 				  REQUEST_GET_VERSION,
drivers/media/usb/dvb-usb/dib0700_core.c +0 -0
 				  USB_TYPE_VENDOR | USB_DIR_IN, 0, 0,
drivers/scsi/bfa/bfi.h +1 -1
index 97600dcec649..5f698d038b21 100644
@@ -356,7 +356,7 @@ struct bfi_ioc_image_hdr_s {
 	u8	port0_mode;	/* device mode for port 0	*/
 	u8	port1_mode;	/* device mode for port 1	*/
 	u32	exec;		/* exec vector			*/
-	u32	bootenv;	/* fimware boot env		*/
+	u32	bootenv;	/* firmware boot env		*/
 	u32	rsvd_b[2];
 	struct bfi_ioc_fwver_s	fwver;
 	u32	md5sum[BFI_IOC_MD5SUM_SZ];
drivers/staging/comedi/drivers/daqboard2000.c +1 -1
index 57ab6680e3ae..a536a15c1d30 100644
@@ -26,7 +26,7 @@
  * Much of the functionality of this driver was determined from reading
  * the source code for the Windows driver.
  *
- * The FPGA on the board requires fimware, which is available from
+ * The FPGA on the board requires firmware, which is available from
  * http://www.comedi.org in the comedi_nonfree_firmware tarball.
  *
  * Configuration options: not applicable, uses PCI auto config
scripts/spelling.txt +1 -1
index 946caf3bd694..fa79c6d2a5b8 100644
@@ -428,6 +428,7 @@ feautures||features
 fetaure||feature
 fetaures||features
 fileystem||filesystem
+fimware||firmware
 finanize||finalize
 findn||find
 finilizes||finalizes
--

2.6.3

--
Kees Cook
Chrome OS & Brillo Security

author
#2 lore raw
Quoted 11 lines · Zhao Lei

Hi, Kees Cook

* From: Kees Cook [mailto:[email protected]]

Quoted 8 lines

Sent: Wednesday, April 27, 2016 7:48 AM
To: Andrew Morton <[email protected]>
Cc: Randy Dunlap <[email protected]>; Andy Whitcroft <[email protected]>; Joe Perches <[email protected]>; Zhao Lei <[email protected]>; [email protected]; [email protected]
Subject: [PATCH] scripts/spelling.txt: add "fimware" misspelling

Quoted 6 lines
Quoted 3 lines

A few instances of "fimware" instead of "firmware" were found. Fix these and add it to the spelling.txt file.

Better to add this change:

  # grep fimware * -R
  Documentation/firmware_class/README:    - kernel searchs the fimware image with name

$FIRMWARE directly

Yup! That's actually going in via another batch of spelling fixes (Randy noticing this one is what made me check for more).

Thanks!

-Kees

Quoted 80 lines

Thanks
Zhaolei

Quoted 72 lines

---
Looks like spelling.txt changes have been going in through -mm?

---
 drivers/media/usb/dvb-usb/dib0700_core.c      | 2 +-
 drivers/scsi/bfa/bfi.h                        | 2 +-
 drivers/staging/comedi/drivers/daqboard2000.c | 2 +-
 scripts/spelling.txt                          | 1 +
 4 files changed, 4 insertions(+), 3 deletions(-)
drivers/media/usb/dvb-usb/dib0700_core.c +1 -1
index c16f999b9d7c..bf890c3d9cda 100644
@@ -517,7 +517,7 @@ int dib0700_download_firmware(struct usb_device
 *udev, const struct firmware *fw
      if (nb_packet_buffer_size < 1)
              nb_packet_buffer_size = 1;
 
-     /* get the fimware version */
+     /* get the firmware version */
      usb_control_msg(udev, usb_rcvctrlpipe(udev, 0),
                                REQUEST_GET_VERSION,
                                USB_TYPE_VENDOR | USB_DIR_IN, 0, 0,
drivers/scsi/bfa/bfi.h +1 -1
index 97600dcec649..5f698d038b21 100644
@@ -356,7 +356,7 @@ struct bfi_ioc_image_hdr_s {
      u8      port0_mode;     /* device mode for port 0       */
      u8      port1_mode;     /* device mode for port 1       */
      u32     exec;           /* exec vector                  */
-     u32     bootenv;        /* fimware boot env             */
+     u32     bootenv;        /* firmware boot env            */
      u32     rsvd_b[2];
      struct bfi_ioc_fwver_s  fwver;
      u32     md5sum[BFI_IOC_MD5SUM_SZ];
drivers/staging/comedi/drivers/daqboard2000.c +1 -1
index 57ab6680e3ae..a536a15c1d30 100644
@@ -26,7 +26,7 @@
  * Much of the functionality of this driver was determined from reading
  * the source code for the Windows driver.
  *
- * The FPGA on the board requires fimware, which is available from
+ * The FPGA on the board requires firmware, which is available from
  * http://www.comedi.org in the comedi_nonfree_firmware tarball.
  *
  * Configuration options: not applicable, uses PCI auto config
scripts/spelling.txt +1 -1
index 946caf3bd694..fa79c6d2a5b8 100644
@@ -428,6 +428,7 @@ feautures||features
 fetaure||feature
 fetaures||features
 fileystem||filesystem
+fimware||firmware
 finanize||finalize
 findn||find
 finilizes||finalizes
--

2.6.3

--
Kees Cook
Chrome OS & Brillo Security

Signature · 2 lines
Kees Cook
Chrome OS & Brillo Security