mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 03:06:10 +00:00
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:
parent
65cb76baa1
commit
94e2bd6888
10 changed files with 16 additions and 16 deletions
|
@ -7,7 +7,7 @@
|
|||
* video_detect.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
|
||||
* assinged
|
||||
* assigned
|
||||
*
|
||||
* After PCI devices are glued with ACPI devices
|
||||
* 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)
|
||||
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)) ||
|
||||
ACPI_SUCCESS(acpi_get_handle(device->handle, "_DOS", &h_dummy)))
|
||||
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)))
|
||||
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)) &&
|
||||
ACPI_SUCCESS(acpi_get_handle(device->handle, "_GPD", &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
|
||||
* 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)
|
||||
{
|
||||
|
|
|
@ -499,7 +499,7 @@ void iser_conn_init(struct iser_conn *ib_conn)
|
|||
|
||||
/**
|
||||
* 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,
|
||||
struct sockaddr_in *src_addr,
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
bond_info->rlb_update_delay_counter = RLB_UPDATE_DELAY;
|
||||
|
|
|
@ -193,7 +193,7 @@ struct ath5k_softc {
|
|||
struct ath5k_txq *cabq; /* content after beacon */
|
||||
|
||||
int power_level; /* Requested tx power in dbm */
|
||||
bool assoc; /* assocate state */
|
||||
bool assoc; /* associate state */
|
||||
bool enable_beacon; /* true if beacons are on */
|
||||
};
|
||||
|
||||
|
|
|
@ -1883,7 +1883,7 @@ static void bnx2i_ep_disconnect(struct iscsi_endpoint *ep)
|
|||
|
||||
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
|
||||
* wait for it to complete
|
||||
*/
|
||||
|
|
|
@ -521,7 +521,7 @@ typedef struct r8180_priv
|
|||
//u32 NumTxOkInPeriod; //YJ,del,080828
|
||||
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 WaitBufDataTimeOut;
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ int fb_deferred_io_fsync(struct file *file, struct dentry *dentry, int datasync)
|
|||
{
|
||||
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)
|
||||
return 0;
|
||||
|
||||
|
|
|
@ -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
|
||||
* @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
|
||||
* @id: pointer to the allocated handle
|
||||
*
|
||||
|
@ -313,7 +313,7 @@ EXPORT_SYMBOL(idr_get_new_above);
|
|||
/**
|
||||
* idr_get_new - allocate new idr entry
|
||||
* @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
|
||||
*
|
||||
* This is the allocate id function. It should be called with any
|
||||
|
|
|
@ -78,7 +78,7 @@ static struct bnep_session *__bnep_get_session(u8 *dst)
|
|||
static void __bnep_link_session(struct bnep_session *s)
|
||||
{
|
||||
/* 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);
|
||||
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);
|
||||
if (s) {
|
||||
/* 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;
|
||||
|
||||
/* Kill session thread */
|
||||
|
|
|
@ -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
|
||||
* and at the transmit time, will try look up the transport to use.
|
||||
* 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;
|
||||
sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(asconf_ack));
|
||||
|
|
Loading…
Reference in a new issue