[bootlin/training-materials updates] master: Use "prevent from" instead of "prevent to" (e7f6fba1)
Michael Opdenacker
michael.opdenacker at bootlin.com
Mon Oct 24 10:35:20 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/e7f6fba1bee3eded31bd1d259ebaabba9058a853
>---------------------------------------------------------------
commit e7f6fba1bee3eded31bd1d259ebaabba9058a853
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Mon Oct 24 10:35:20 2022 +0200
Use "prevent from" instead of "prevent to"
https://www.noslangues-ourlanguages.gc.ca/en/writing-tips-plus/prevent-from-prevent-to
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
e7f6fba1bee3eded31bd1d259ebaabba9058a853
.../kernel-driver-development-io-memory.tex | 2 +-
.../realtime-linux-realtime-systems.tex | 3 ++-
slides/sysdev-hw-devices/sysdev-hw-devices.tex | 2 +-
slides/sysdev-licensing/sysdev-licensing.tex | 6 +++---
slides/yocto-recipe-extra/yocto-recipe-extra.tex | 2 +-
5 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/slides/kernel-driver-development-io-memory/kernel-driver-development-io-memory.tex b/slides/kernel-driver-development-io-memory/kernel-driver-development-io-memory.tex
index 7f197ccb..b719887c 100644
--- a/slides/kernel-driver-development-io-memory/kernel-driver-development-io-memory.tex
+++ b/slides/kernel-driver-development-io-memory/kernel-driver-development-io-memory.tex
@@ -28,7 +28,7 @@ struct resource *request_mem_region(unsigned long start,
\begin{minted}{c}
void release_mem_region(unsigned long start, unsigned long len);
\end{minted}
- \item Allows to prevent other drivers requesting the same I/O registers,
+ \item Allows to prevent other drivers from requesting the same I/O registers,
but is purely voluntary.
\end{itemize}
\end{frame}
diff --git a/slides/realtime-linux-realtime-systems/realtime-linux-realtime-systems.tex b/slides/realtime-linux-realtime-systems/realtime-linux-realtime-systems.tex
index 44a81a30..a379446e 100644
--- a/slides/realtime-linux-realtime-systems/realtime-linux-realtime-systems.tex
+++ b/slides/realtime-linux-realtime-systems/realtime-linux-realtime-systems.tex
@@ -222,7 +222,8 @@
\frametitle{Priority inversion}
\begin{itemize}
\item Priority inversion arises when strict priority-based scheduling interfers with locking
- \item It creates a scenario where a critical task is prevented to run by a lower priority task
+ \item It creates a scenario where a critical task is
+ prevented from running by a lower priority task
\end{itemize}
\end{frame}
diff --git a/slides/sysdev-hw-devices/sysdev-hw-devices.tex b/slides/sysdev-hw-devices/sysdev-hw-devices.tex
index 13c1cac8..88be9365 100644
--- a/slides/sysdev-hw-devices/sysdev-hw-devices.tex
+++ b/slides/sysdev-hw-devices/sysdev-hw-devices.tex
@@ -653,7 +653,7 @@ parm: quirks:supplemental list of device IDs and their quirks (string)
\item Includes
\begin{itemize}
\item The reference count: incremented when the module is used by
- another module or by a user-space process, prevents unloading
+ another module or by a user-space process, prevents from unloading
modules that are in-use
\item Dependant modules: modules that depend on us
\end{itemize}
diff --git a/slides/sysdev-licensing/sysdev-licensing.tex b/slides/sysdev-licensing/sysdev-licensing.tex
index 7004dba7..4e3f4b34 100644
--- a/slides/sysdev-licensing/sysdev-licensing.tex
+++ b/slides/sysdev-licensing/sysdev-licensing.tex
@@ -117,7 +117,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\item Slightly more complex permissive license
\item Must preserve a \code{NOTICE} file
\item Includes a {\em patent grant}, a mechanism to prevent users of
- the licensed project to sue others based on patents related to the
+ the licensed project from suing others based on patents related to the
project
\item \url{https://en.wikipedia.org/wiki/Apache_License}
\item \url{https://www.apache.org/licenses/LICENSE-2.0}
@@ -265,8 +265,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\begin{itemize}
\item Programs linked with a library released under the GPL must
also be released under the GPL
- \item Does not prevent GPL programs and non-GPL programs to
- co-exist in the same system or to communicate
+ \item Does not prevent GPL programs and non-GPL programs from
+ co-existing in the same system or to communicate
\end{itemize}
\item \url{https://www.gnu.org/licenses/gpl-2.0.en.html}
\item \url{https://www.gnu.org/licenses/gpl-3.0.en.html}
diff --git a/slides/yocto-recipe-extra/yocto-recipe-extra.tex b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
index e232ff70..5bbbc919 100644
--- a/slides/yocto-recipe-extra/yocto-recipe-extra.tex
+++ b/slides/yocto-recipe-extra/yocto-recipe-extra.tex
@@ -261,7 +261,7 @@ PACKAGES = "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev \
\item \code{PACKAGES_DYNAMIC} allows to check dependencies with
optional packages are satisfied.
\item \code{ALLOW_EMPTY} allows to produce a package even if it is empty.
- \item To prevent configuration files to be overwritten during the
+ \item To prevent configuration files from being overwritten during the
Package Management System update process, use \code{CONFFILES}.
\end{itemize}
\end{frame}
More information about the training-materials-updates
mailing list