* or write_thread().
*
* When false, the write_thread() callback is used and would be
- * called in a preemtible context unless disabled by the
+ * called in a preemptible context unless disabled by the
* device_lock. The legacy handover is not allowed in this mode.
*
* Context: Any context except NMI.
* Return: True if the console was acquired. False otherwise.
*
* Console drivers will usually use their own internal synchronization
- * mechasism to synchronize between console printing and non-printing
+ * mechanism to synchronize between console printing and non-printing
* activities (such as setting baud rates). However, nbcon console drivers
* supporting atomic consoles may also want to mark unsafe sections when
* performing non-printing activities in order to synchronize against their
*
* kdb emits messages on consoles registered for printk() without
* storing them into the ring buffer. It has to acquire the console
- * ownerhip so that it could call con->write_atomic() callback a safe way.
+ * ownership so that it could call con->write_atomic() callback a safe way.
*
* This function acquires the nbcon console using priority NBCON_PRIO_EMERGENCY
* and marks it unsafe for handover/takeover.
/*
* Sysctl cannot change it anymore. The kernel command line setting of
* this parameter is to force the setting to be permanent throughout the
- * runtime of the system. This is a precation measure against userspace
+ * runtime of the system. This is a precautionary measure against userspace
* trying to be a smarta** and attempting to change it up on us.
*/
devkmsg_log |= DEVKMSG_LOG_MASK_LOCK;
* the current owner is running and cannot reschedule until it
* is ready to lose the lock.
*
- * Return: 1 if we got the lock, 0 othrewise
+ * Return: 1 if we got the lock, 0 otherwise
*/
static int console_trylock_spinning(void)
{
continue;
/*
- * An usable console made a progress. There might still be
+ * A usable console made progress. There might still be
* pending messages.
*/
*try_again = true;