diff mbox

[ovs-dev] coding-style: Fix typo.

Message ID 20170519042728.12279-1-blp@ovn.org
State Accepted
Headers show

Commit Message

Ben Pfaff May 19, 2017, 4:27 a.m. UTC
Signed-off-by: Ben Pfaff <blp@ovn.org>
---
 Documentation/internals/contributing/coding-style.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Gregory Rose May 19, 2017, 2:24 p.m. UTC | #1
On Thu, 2017-05-18 at 21:27 -0700, Ben Pfaff wrote:
> Signed-off-by: Ben Pfaff <blp@ovn.org>
> ---
>  Documentation/internals/contributing/coding-style.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/internals/contributing/coding-style.rst b/Documentation/internals/contributing/coding-style.rst
> index 4694b2363775..666e887b1b68 100644
> --- a/Documentation/internals/contributing/coding-style.rst
> +++ b/Documentation/internals/contributing/coding-style.rst
> @@ -210,7 +210,7 @@ accept and ignore a null pointer argument. Code that calls such a function
>  null-pointer check. We find that this usually makes code easier to read.
>  
>  Functions in ``.c`` files should not normally be marked ``inline``, because it
> -does not usually help code generation and it does suppress compilers warnings
> +does not usually help code generation and it does suppress compiler warnings
>  about unused functions. (Functions defined in .h usually should be marked
>  inline.)
>  

Acked-by: Greg Rose <gvrose8192@gmail.com>
Ben Pfaff May 19, 2017, 4:07 p.m. UTC | #2
On Fri, May 19, 2017 at 07:24:37AM -0700, Greg Rose wrote:
> On Thu, 2017-05-18 at 21:27 -0700, Ben Pfaff wrote:
> > Signed-off-by: Ben Pfaff <blp@ovn.org>
> > ---
> >  Documentation/internals/contributing/coding-style.rst | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/Documentation/internals/contributing/coding-style.rst b/Documentation/internals/contributing/coding-style.rst
> > index 4694b2363775..666e887b1b68 100644
> > --- a/Documentation/internals/contributing/coding-style.rst
> > +++ b/Documentation/internals/contributing/coding-style.rst
> > @@ -210,7 +210,7 @@ accept and ignore a null pointer argument. Code that calls such a function
> >  null-pointer check. We find that this usually makes code easier to read.
> >  
> >  Functions in ``.c`` files should not normally be marked ``inline``, because it
> > -does not usually help code generation and it does suppress compilers warnings
> > +does not usually help code generation and it does suppress compiler warnings
> >  about unused functions. (Functions defined in .h usually should be marked
> >  inline.)
> >  
> 
> Acked-by: Greg Rose <gvrose8192@gmail.com>

Thanks Greg!  I applied this to master.
diff mbox

Patch

diff --git a/Documentation/internals/contributing/coding-style.rst b/Documentation/internals/contributing/coding-style.rst
index 4694b2363775..666e887b1b68 100644
--- a/Documentation/internals/contributing/coding-style.rst
+++ b/Documentation/internals/contributing/coding-style.rst
@@ -210,7 +210,7 @@  accept and ignore a null pointer argument. Code that calls such a function
 null-pointer check. We find that this usually makes code easier to read.
 
 Functions in ``.c`` files should not normally be marked ``inline``, because it
-does not usually help code generation and it does suppress compilers warnings
+does not usually help code generation and it does suppress compiler warnings
 about unused functions. (Functions defined in .h usually should be marked
 inline.)