Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1715576 > unrolled thread

[PATCH 1/4] isofs: Delete an error message for a failed memory allocation in isofs_read_inode()

Started bySF Markus Elfring <elfring@users.sourceforge.net>
First post2017-08-19 09:20 +0200
Last post2017-08-21 16:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/4] isofs: Delete an error message for a failed memory  allocation in isofs_read_inode() SF Markus Elfring <elfring@users.sourceforge.net> - 2017-08-19 09:20 +0200
    Re: [PATCH 1/4] isofs: Delete an error message for a failed memory  allocation in isofs_read_inode() Jan Kara <jack@suse.cz> - 2017-08-21 16:10 +0200

#1715576 — [PATCH 1/4] isofs: Delete an error message for a failed memory allocation in isofs_read_inode()

FromSF Markus Elfring <elfring@users.sourceforge.net>
Date2017-08-19 09:20 +0200
Subject[PATCH 1/4] isofs: Delete an error message for a failed memory allocation in isofs_read_inode()
Message-ID<ug6d3-6Hr-1@gated-at.bofh.it>
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Fri, 18 Aug 2017 21:41:24 +0200

Omit an extra message for a memory allocation failure in this function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 fs/isofs/inode.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c
index 217a5e7815da..2d3f090944df 100644
--- a/fs/isofs/inode.c
+++ b/fs/isofs/inode.c
@@ -1324,4 +1324,3 @@ static int isofs_read_inode(struct inode *inode, int relocated)
-			printk(KERN_INFO "%s: out of memory\n", __func__);
 			ret = -ENOMEM;
 			goto fail;
 		}
-- 
2.14.0

[toc] | [next] | [standalone]


#1716522

FromJan Kara <jack@suse.cz>
Date2017-08-21 16:10 +0200
Message-ID<ugVyY-5o7-51@gated-at.bofh.it>
In reply to#1715576
On Sat 19-08-17 09:15:57, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Fri, 18 Aug 2017 21:41:24 +0200
> 
> Omit an extra message for a memory allocation failure in this function.
> 
> This issue was detected by using the Coccinelle software.
> 
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>

Thanks. Applied to my tree.

								Honza

> ---
>  fs/isofs/inode.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c
> index 217a5e7815da..2d3f090944df 100644
> --- a/fs/isofs/inode.c
> +++ b/fs/isofs/inode.c
> @@ -1324,4 +1324,3 @@ static int isofs_read_inode(struct inode *inode, int relocated)
> -			printk(KERN_INFO "%s: out of memory\n", __func__);
>  			ret = -ENOMEM;
>  			goto fail;
>  		}
> -- 
> 2.14.0
> 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web