All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Dan Carpenter <dan.carpenter@linaro.org>,
	oe-kbuild@lists.linux.dev,
	Andrzej Hajda <andrzej.hajda@intel.com>
Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev
Subject: Re: [tglx-devel:queue/core 1/1] lib/debugobjects.c:730 debug_object_activate() error: 'obj' dereferencing possible ERR_PTR()
Date: Wed, 22 Nov 2023 10:21:11 +0100	[thread overview]
Message-ID: <87edgi16uw.ffs@tglx> (raw)
In-Reply-To: <87pm0316gm.ffs@tglx>

On Tue, Nov 21 2023 at 16:17, Thomas Gleixner wrote:
> On Mon, Nov 20 2023 at 03:55, Dan Carpenter wrote:
>> 265c43c4e983ed Andrzej Hajda    2023-10-25  715  	} else if (likely(!IS_ERR(obj))) {
>>                                                                           ^^^^^^^^^^^^
>> obj is an error pointer
>
> Ah. Right that's silly. lookup_object_or_alloc() either returns a valid
> pointer or NULL. Let me amend that before I move it over to tip.

Bah it does return an error pointer. Let me stare more.

  reply	other threads:[~2023-11-22  9:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-20  8:55 [tglx-devel:queue/core 1/1] lib/debugobjects.c:730 debug_object_activate() error: 'obj' dereferencing possible ERR_PTR() Dan Carpenter
2023-11-21 15:17 ` Thomas Gleixner
2023-11-22  9:21   ` Thomas Gleixner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-09 13:25 kernel test robot

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=87edgi16uw.ffs@tglx \
    --to=tglx@linutronix.de \
    --cc=andrzej.hajda@intel.com \
    --cc=dan.carpenter@linaro.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=oe-kbuild@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.