linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: SF Markus Elfring <elfring@users.sourceforge.net>
To: Eric Sandeen <esandeen@redhat.com>, linux-ext4@vger.kernel.org
Cc: Andreas Dilger <adilger.kernel@dilger.ca>,
	Theodore Ts'o <tytso@mit.edu>,
	LKML <linux-kernel@vger.kernel.org>,
	kernel-janitors@vger.kernel.org
Subject: Re: ext4: Delete an error message for a failed memory allocation in ext4_multi_mount_protect()
Date: Sat, 19 Aug 2017 20:00:31 +0200	[thread overview]
Message-ID: <e522d9a5-4d5a-b4a1-fe94-bb3aae4c5976@users.sourceforge.net> (raw)
In-Reply-To: <b21f6c3d-2cad-3f72-f410-f608ea5f4cea@redhat.com>

>> Omit an extra message for a memory allocation failure in this function.
> 
> I might be dense, but what makes this message "extra?"
> 
> (I suppose kmalloc squawks too if it fails,

Do you find the default allocation failure report sufficient?


> but is Coccinelle now warning about explicit memory allocation failure warnings?)

This software tool can help to find source code places for further
development considerations. Would you like to clarify a corresponding
search pattern a bit more?

Regards,
Markus

  reply	other threads:[~2017-08-19 18:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-19 11:46 [PATCH 0/2] fs-ext4: Adjustments for two function implementations SF Markus Elfring
2017-08-19 11:47 ` [PATCH 1/2] ext4: Delete an error message for a failed memory allocation in ext4_multi_mount_protect() SF Markus Elfring
2017-08-19 17:08   ` Eric Sandeen
2017-08-19 18:00     ` SF Markus Elfring [this message]
2017-08-24 17:44       ` Theodore Ts'o
2017-08-24 19:16     ` [PATCH 1/2] " Dan Carpenter
2017-08-19 11:48 ` [PATCH 2/2] ext4: Improve a size determination in two functions SF Markus Elfring
2017-08-20  1:49   ` Eric Sandeen
2017-08-24 17:50     ` Theodore Ts'o

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e522d9a5-4d5a-b4a1-fe94-bb3aae4c5976@users.sourceforge.net \
    --to=elfring@users.sourceforge.net \
    --cc=adilger.kernel@dilger.ca \
    --cc=esandeen@redhat.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).