Skip to content

Commit f77f13e

Browse files
Gilles EspinasseJiri Kosina
authored andcommitted
Fix comment and Kconfig typos for 'require' and 'fragment'
Signed-off-by: Gilles Espinasse <g.esp@free.fr> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 5239c4f commit f77f13e

14 files changed

Lines changed: 24 additions & 24 deletions

File tree

‎Documentation/powerpc/dts-bindings/xilinx.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
control how the core is synthesized. Historically, the EDK tool would
1212
extract the device parameters relevant to device drivers and copy them
1313
into an 'xparameters.h' in the form of #define symbols. This tells the
14-
device drivers how the IP cores are configured, but it requres the kernel
14+
device drivers how the IP cores are configured, but it requires the kernel
1515
to be recompiled every time the FPGA bitstream is resynthesized.
1616

1717
The new approach is to export the parameters into the device tree and

‎arch/mips/sibyte/bcm1480/irq.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ void __init init_bcm1480_irqs(void)
254254
* On the second cpu, everything is set to IP5, which is
255255
* ignored, EXCEPT the mailbox interrupt. That one is
256256
* set to IP[2] so it is handled. This is needed so we
257-
* can do cross-cpu function calls, as requred by SMP
257+
* can do cross-cpu function calls, as required by SMP
258258
*/
259259

260260
#define IMR_IP2_VAL K_BCM1480_INT_MAP_I0

‎arch/mips/sibyte/sb1250/irq.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ void __init init_sb1250_irqs(void)
237237
* On the second cpu, everything is set to IP5, which is
238238
* ignored, EXCEPT the mailbox interrupt. That one is
239239
* set to IP[2] so it is handled. This is needed so we
240-
* can do cross-cpu function calls, as requred by SMP
240+
* can do cross-cpu function calls, as required by SMP
241241
*/
242242

243243
#define IMR_IP2_VAL K_INT_MAP_I0

‎crypto/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ config CRYPTO_FIPS
2828
This options enables the fips boot option which is
2929
required if you want to system to operate in a FIPS 200
3030
certification. You should say no unless you know what
31-
this is. Note that CRYPTO_ANSI_CPRNG is requred if this
31+
this is. Note that CRYPTO_ANSI_CPRNG is required if this
3232
option is selected
3333

3434
config CRYPTO_ALGAPI

‎drivers/gpu/drm/i915/intel_display.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,9 +904,9 @@ intel_g4x_find_best_PLL(const intel_limit_t *limit, struct drm_crtc *crtc,
904904

905905
memset(best_clock, 0, sizeof(*best_clock));
906906
max_n = limit->n.max;
907-
/* based on hardware requriment prefer smaller n to precision */
907+
/* based on hardware requirement, prefer smaller n to precision */
908908
for (clock.n = limit->n.min; clock.n <= max_n; clock.n++) {
909-
/* based on hardware requirment prefere larger m1,m2 */
909+
/* based on hardware requirement, prefere larger m1,m2 */
910910
for (clock.m1 = limit->m1.max;
911911
clock.m1 >= limit->m1.min; clock.m1--) {
912912
for (clock.m2 = limit->m2.max;

‎drivers/gpu/drm/radeon/atombios.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3780,7 +3780,7 @@ typedef struct _ATOM_ASIC_SS_ASSIGNMENT
37803780
UCHAR ucReserved[2];
37813781
}ATOM_ASIC_SS_ASSIGNMENT;
37823782

3783-
//Define ucClockIndication, SW uses the IDs below to search if the SS is requried/enabled on a clock branch/signal type.
3783+
//Define ucClockIndication, SW uses the IDs below to search if the SS is required/enabled on a clock branch/signal type.
37843784
//SS is not required or enabled if a match is not found.
37853785
#define ASIC_INTERNAL_MEMORY_SS 1
37863786
#define ASIC_INTERNAL_ENGINE_SS 2
@@ -5895,7 +5895,7 @@ typedef struct _ATOM_PPLIB_RS780_CLOCK_INFO
58955895
UCHAR ucPadding; // For proper alignment and size.
58965896
USHORT usVDDC; // For the 780, use: None, Low, High, Variable
58975897
UCHAR ucMaxHTLinkWidth; // From SBIOS - {2, 4, 8, 16}
5898-
UCHAR ucMinHTLinkWidth; // From SBIOS - {2, 4, 8, 16}. Effective only if CDLW enabled. Minimum down stream width could be bigger as display BW requriement.
5898+
UCHAR ucMinHTLinkWidth; // From SBIOS - {2, 4, 8, 16}. Effective only if CDLW enabled. Minimum down stream width could be bigger as display BW requirement.
58995899
USHORT usHTLinkFreq; // See definition ATOM_PPLIB_RS780_HTLINKFREQ_xxx or in MHz(>=200).
59005900
ULONG ulFlags;
59015901
} ATOM_PPLIB_RS780_CLOCK_INFO;

‎drivers/isdn/hardware/mISDN/hfcmulti.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
* NOTE: only one mode value must be given for every card.
118118
* -> See hfc_multi.h for HFC_IO_MODE_* values
119119
* By default, the IO mode is pci memory IO (MEMIO).
120-
* Some cards requre specific IO mode, so it cannot be changed.
120+
* Some cards require specific IO mode, so it cannot be changed.
121121
* It may be usefull to set IO mode to register io (REGIO) to solve
122122
* PCI bridge problems.
123123
* If unsure, don't give this parameter.

‎drivers/net/bnx2x_hsi.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ struct drv_func_mb {
683683
#define DRV_MSG_CODE_GET_MANUF_KEY 0x82000000
684684
#define DRV_MSG_CODE_LOAD_L2B_PRAM 0x90000000
685685
/*
686-
* The optic module verification commands requris bootcode
686+
* The optic module verification commands require bootcode
687687
* v5.0.6 or later
688688
*/
689689
#define DRV_MSG_CODE_VRFY_OPT_MDL 0xa0000000

‎drivers/net/ps3_gelic_wireless.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static inline int precise_ie(void)
9595
* post_eurus_cmd helpers
9696
*/
9797
struct eurus_cmd_arg_info {
98-
int pre_arg; /* command requres arg1, arg2 at POST COMMAND */
98+
int pre_arg; /* command requires arg1, arg2 at POST COMMAND */
9999
int post_arg; /* command requires arg1, arg2 at GET_RESULT */
100100
};
101101

‎drivers/staging/vt6655/rxtx.c‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@
2525
* Date: May 20, 2003
2626
*
2727
* Functions:
28-
* s_vGenerateTxParameter - Generate tx dma requried parameter.
28+
* s_vGenerateTxParameter - Generate tx dma required parameter.
2929
* vGenerateMACHeader - Translate 802.3 to 802.11 header
30-
* cbGetFragCount - Caculate fragement number count
30+
* cbGetFragCount - Caculate fragment number count
3131
* csBeacon_xmit - beacon tx function
3232
* csMgmt_xmit - management tx function
3333
* s_cbFillTxBufHead - fulfill tx dma buffer header
3434
* s_uGetDataDuration - get tx data required duration
3535
* s_uFillDataHead- fulfill tx data duration header
36-
* s_uGetRTSCTSDuration- get rtx/cts requried duration
36+
* s_uGetRTSCTSDuration- get rtx/cts required duration
3737
* s_uGetRTSCTSRsvTime- get rts/cts reserved time
3838
* s_uGetTxRsvTime- get frame reserved time
3939
* s_vFillCTSHead- fulfill CTS ctl header
40-
* s_vFillFragParameter- Set fragement ctl parameter.
40+
* s_vFillFragParameter- Set fragment ctl parameter.
4141
* s_vFillRTSHead- fulfill RTS ctl header
4242
* s_vFillTxKey- fulfill tx encrypt key
4343
* s_vSWencryption- Software encrypt header
@@ -877,7 +877,7 @@ s_vFillRTSHead (
877877
}
878878

879879
// Note: So far RTSHead dosen't appear in ATIM & Beacom DMA, so we don't need to take them into account.
880-
// Otherwise, we need to modified codes for them.
880+
// Otherwise, we need to modify codes for them.
881881
if (byPktType == PK_TYPE_11GB || byPktType == PK_TYPE_11GA) {
882882
if (byFBOption == AUTO_FB_NONE) {
883883
PSRTS_g pBuf = (PSRTS_g)pvRTS;
@@ -1133,7 +1133,7 @@ s_vFillCTSHead (
11331133
*
11341134
* Parameters:
11351135
* In:
1136-
* pDevice - Pointer to adpater
1136+
* pDevice - Pointer to adapter
11371137
* pTxDataHead - Transmit Data Buffer
11381138
* pTxBufHead - pTxBufHead
11391139
* pvRrvTime - pvRrvTime
@@ -2252,7 +2252,7 @@ vGenerateFIFOHeader (
22522252
*
22532253
* Parameters:
22542254
* In:
2255-
* pDevice - Pointer to adpater
2255+
* pDevice - Pointer to adapter
22562256
* dwTxBufferAddr - Transmit Buffer
22572257
* pPacket - Packet from upper layer
22582258
* cbPacketSize - Transmit Data Length

0 commit comments

Comments
 (0)