tree-wide: fix some typos and punctuation in comments

fix some typos and punctuation in comments

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Thadeu Lima de Souza Cascardo 2009-10-16 15:20:49 +02:00 committed by Jiri Kosina
parent 65cb76baa1
commit 94e2bd6888
10 changed files with 16 additions and 16 deletions

View file

@ -7,7 +7,7 @@
* video_detect.c: * video_detect.c:
* Provides acpi_is_video_device() for early scanning of ACPI devices in scan.c * Provides acpi_is_video_device() for early scanning of ACPI devices in scan.c
* There a Linux specific (Spec does not provide a HID for video devices) is * There a Linux specific (Spec does not provide a HID for video devices) is
* assinged * assigned
* *
* After PCI devices are glued with ACPI devices * After PCI devices are glued with ACPI devices
* acpi_get_pci_dev() can be called to identify ACPI graphics * acpi_get_pci_dev() can be called to identify ACPI graphics
@ -83,16 +83,16 @@ long acpi_is_video_device(struct acpi_device *device)
if (!device) if (!device)
return 0; return 0;
/* Does this device able to support video switching ? */ /* Is this device able to support video switching ? */
if (ACPI_SUCCESS(acpi_get_handle(device->handle, "_DOD", &h_dummy)) || if (ACPI_SUCCESS(acpi_get_handle(device->handle, "_DOD", &h_dummy)) ||
ACPI_SUCCESS(acpi_get_handle(device->handle, "_DOS", &h_dummy))) ACPI_SUCCESS(acpi_get_handle(device->handle, "_DOS", &h_dummy)))
video_caps |= ACPI_VIDEO_OUTPUT_SWITCHING; video_caps |= ACPI_VIDEO_OUTPUT_SWITCHING;
/* Does this device able to retrieve a video ROM ? */ /* Is this device able to retrieve a video ROM ? */
if (ACPI_SUCCESS(acpi_get_handle(device->handle, "_ROM", &h_dummy))) if (ACPI_SUCCESS(acpi_get_handle(device->handle, "_ROM", &h_dummy)))
video_caps |= ACPI_VIDEO_ROM_AVAILABLE; video_caps |= ACPI_VIDEO_ROM_AVAILABLE;
/* Does this device able to configure which video head to be POSTed ? */ /* Is this device able to configure which video head to be POSTed ? */
if (ACPI_SUCCESS(acpi_get_handle(device->handle, "_VPO", &h_dummy)) && if (ACPI_SUCCESS(acpi_get_handle(device->handle, "_VPO", &h_dummy)) &&
ACPI_SUCCESS(acpi_get_handle(device->handle, "_GPD", &h_dummy)) && ACPI_SUCCESS(acpi_get_handle(device->handle, "_GPD", &h_dummy)) &&
ACPI_SUCCESS(acpi_get_handle(device->handle, "_SPD", &h_dummy))) ACPI_SUCCESS(acpi_get_handle(device->handle, "_SPD", &h_dummy)))
@ -137,7 +137,7 @@ find_video(acpi_handle handle, u32 lvl, void *context, void **rv)
* *
* if NULL is passed as argument all ACPI devices are enumerated and * if NULL is passed as argument all ACPI devices are enumerated and
* all graphics capabilities of physically present devices are * all graphics capabilities of physically present devices are
* summerized and returned. This is cached and done only once. * summarized and returned. This is cached and done only once.
*/ */
long acpi_video_get_capabilities(acpi_handle graphics_handle) long acpi_video_get_capabilities(acpi_handle graphics_handle)
{ {

View file

@ -499,7 +499,7 @@ void iser_conn_init(struct iser_conn *ib_conn)
/** /**
* starts the process of connecting to the target * starts the process of connecting to the target
* sleeps untill the connection is established or rejected * sleeps until the connection is established or rejected
*/ */
int iser_connect(struct iser_conn *ib_conn, int iser_connect(struct iser_conn *ib_conn,
struct sockaddr_in *src_addr, struct sockaddr_in *src_addr,

View file

@ -559,7 +559,7 @@ static void rlb_update_rx_clients(struct bonding *bond)
} }
} }
/* do not update the entries again untill this counter is zero so that /* do not update the entries again until this counter is zero so that
* not to confuse the clients. * not to confuse the clients.
*/ */
bond_info->rlb_update_delay_counter = RLB_UPDATE_DELAY; bond_info->rlb_update_delay_counter = RLB_UPDATE_DELAY;

View file

@ -193,7 +193,7 @@ struct ath5k_softc {
struct ath5k_txq *cabq; /* content after beacon */ struct ath5k_txq *cabq; /* content after beacon */
int power_level; /* Requested tx power in dbm */ int power_level; /* Requested tx power in dbm */
bool assoc; /* assocate state */ bool assoc; /* associate state */
bool enable_beacon; /* true if beacons are on */ bool enable_beacon; /* true if beacons are on */
}; };

View file

@ -1883,7 +1883,7 @@ static void bnx2i_ep_disconnect(struct iscsi_endpoint *ep)
bnx2i_ep = ep->dd_data; bnx2i_ep = ep->dd_data;
/* driver should not attempt connection cleanup untill TCP_CONNECT /* driver should not attempt connection cleanup until TCP_CONNECT
* completes either successfully or fails. Timeout is 9-secs, so * completes either successfully or fails. Timeout is 9-secs, so
* wait for it to complete * wait for it to complete
*/ */

View file

@ -521,7 +521,7 @@ typedef struct r8180_priv
//u32 NumTxOkInPeriod; //YJ,del,080828 //u32 NumTxOkInPeriod; //YJ,del,080828
u8 TxPollingTimes; u8 TxPollingTimes;
bool bApBufOurFrame;// TRUE if AP buffer our unicast data , we will keep eAwake untill receive data or timeout. bool bApBufOurFrame;// TRUE if AP buffer our unicast data , we will keep eAwake until receive data or timeout.
u8 WaitBufDataBcnCount; u8 WaitBufDataBcnCount;
u8 WaitBufDataTimeOut; u8 WaitBufDataTimeOut;

View file

@ -71,7 +71,7 @@ int fb_deferred_io_fsync(struct file *file, struct dentry *dentry, int datasync)
{ {
struct fb_info *info = file->private_data; struct fb_info *info = file->private_data;
/* Skip if deferred io is complied-in but disabled on this fbdev */ /* Skip if deferred io is compiled-in but disabled on this fbdev */
if (!info->fbdefio) if (!info->fbdefio)
return 0; return 0;

View file

@ -281,7 +281,7 @@ static int idr_get_new_above_int(struct idr *idp, void *ptr, int starting_id)
/** /**
* idr_get_new_above - allocate new idr entry above or equal to a start id * idr_get_new_above - allocate new idr entry above or equal to a start id
* @idp: idr handle * @idp: idr handle
* @ptr: pointer you want associated with the ide * @ptr: pointer you want associated with the id
* @start_id: id to start search at * @start_id: id to start search at
* @id: pointer to the allocated handle * @id: pointer to the allocated handle
* *
@ -313,7 +313,7 @@ EXPORT_SYMBOL(idr_get_new_above);
/** /**
* idr_get_new - allocate new idr entry * idr_get_new - allocate new idr entry
* @idp: idr handle * @idp: idr handle
* @ptr: pointer you want associated with the ide * @ptr: pointer you want associated with the id
* @id: pointer to the allocated handle * @id: pointer to the allocated handle
* *
* This is the allocate id function. It should be called with any * This is the allocate id function. It should be called with any

View file

@ -78,7 +78,7 @@ static struct bnep_session *__bnep_get_session(u8 *dst)
static void __bnep_link_session(struct bnep_session *s) static void __bnep_link_session(struct bnep_session *s)
{ {
/* It's safe to call __module_get() here because sessions are added /* It's safe to call __module_get() here because sessions are added
by the socket layer which has to hold the refference to this module. by the socket layer which has to hold the reference to this module.
*/ */
__module_get(THIS_MODULE); __module_get(THIS_MODULE);
list_add(&s->list, &bnep_session_list); list_add(&s->list, &bnep_session_list);
@ -629,7 +629,7 @@ int bnep_del_connection(struct bnep_conndel_req *req)
s = __bnep_get_session(req->dst); s = __bnep_get_session(req->dst);
if (s) { if (s) {
/* Wakeup user-space which is polling for socket errors. /* Wakeup user-space which is polling for socket errors.
* This is temporary hack untill we have shutdown in L2CAP */ * This is temporary hack until we have shutdown in L2CAP */
s->sock->sk->sk_err = EUNATCH; s->sock->sk->sk_err = EUNATCH;
/* Kill session thread */ /* Kill session thread */

View file

@ -3569,7 +3569,7 @@ sctp_disposition_t sctp_sf_do_asconf(const struct sctp_endpoint *ep,
* To do this properly, we'll set the destination address of the chunk * To do this properly, we'll set the destination address of the chunk
* and at the transmit time, will try look up the transport to use. * and at the transmit time, will try look up the transport to use.
* Since ASCONFs may be bundled, the correct transport may not be * Since ASCONFs may be bundled, the correct transport may not be
* created untill we process the entire packet, thus this workaround. * created until we process the entire packet, thus this workaround.
*/ */
asconf_ack->dest = chunk->source; asconf_ack->dest = chunk->source;
sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(asconf_ack)); sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(asconf_ack));