Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1537a363 authored by Daniel Mack's avatar Daniel Mack Committed by Jiri Kosina
Browse files

tree-wide: fix 'lenght' typo in comments and code



Some misspelled occurences of 'octet' and some comments were also fixed
as I was on it.

Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
Cc: Jiri Kosina <trivial@kernel.org>
Cc: Joe Perches <joe@perches.com>
Cc: Junio C Hamano <gitster@pobox.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent b5218a87
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@

#define AT91_MCI_BLKR		0x18		/* Block Register */
#define		AT91_MCI_BLKR_BCNT(n)	((0xffff & (n)) << 0)	/* Block count */
#define		AT91_MCI_BLKR_BLKLEN(n)	((0xffff & (n)) << 16)	/* Block lenght */
#define		AT91_MCI_BLKR_BLKLEN(n)	((0xffff & (n)) << 16)	/* Block length */

#define AT91_MCI_RSPR(n)	(0x20 + ((n) * 4))	/* Response Registers 0-3 */
#define AT91_MCR_RDR		0x30		/* Receive Data Register */
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ int s390_sha_final(struct shash_desc *desc, u8 *out)
	memset(ctx->buf + index, 0x00, end - index - 8);

	/*
	 * Append message length. Well, SHA-512 wants a 128 bit lenght value,
	 * Append message length. Well, SHA-512 wants a 128 bit length value,
	 * nevertheless we use u64, should be enough for now...
	 */
	bits = ctx->count * 8;
+1 −1
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@ static atomic_t hifn_dev_number;
#define	HIFN_PUBOPLEN_MOD_M	0x0000007f	/* modulus length mask */
#define	HIFN_PUBOPLEN_MOD_S	0		/* modulus length shift */
#define	HIFN_PUBOPLEN_EXP_M	0x0003ff80	/* exponent length mask */
#define	HIFN_PUBOPLEN_EXP_S	7		/* exponent lenght shift */
#define	HIFN_PUBOPLEN_EXP_S	7		/* exponent length shift */
#define	HIFN_PUBOPLEN_RED_M	0x003c0000	/* reducend length mask */
#define	HIFN_PUBOPLEN_RED_S	18		/* reducend length shift */

+1 −1
Original line number Diff line number Diff line
@@ -477,7 +477,7 @@ l1oip_socket_parse(struct l1oip *hc, struct sockaddr_in *sin, u8 *buf, int len)
		printk(KERN_DEBUG "%s: received frame, parsing... (%d)\n",
			__func__, len);

	/* check lenght */
	/* check length */
	if (len < 1+1+2) {
		printk(KERN_WARNING "%s: packet error - length %d below "
			"4 bytes\n", __func__, len);
+1 −1
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ struct wusb_port {
 *                 ports) this HC will take. Read-only.
 *
 * @port      	   Array of port status for each fake root port. Guaranteed to
 *                 always be the same lenght during device existence
 *                 always be the same length during device existence
 *                 [this allows for some unlocked but referenced reading].
 *
 * @mmcies_max	   Max number of Information Elements this HC can send
Loading