From: Boqun Feng <boqun.feng@gmail.com>
To: kernel test robot <lkp@intel.com>
Cc: Alice Ryhl <aliceryhl@google.com>, oe-kbuild-all@lists.linux.dev
Subject: Re: [boqun:lockdep-for-tip 5/5] error[E0599]: no method named `try_lock` found for struct `Lock` in the current scope
Date: Mon, 28 Oct 2024 21:41:17 -0700 [thread overview]
Message-ID: <ZyBnbZXDo8KlJ3vC@boqun-archlinux> (raw)
In-Reply-To: <202410291211.4JnU6G41-lkp@intel.com>
On Tue, Oct 29, 2024 at 12:22:05PM +0800, kernel test robot wrote:
[...]
> >> error[E0599]: no method named `try_lock` found for struct `Lock` in the current scope
> --> rust/kernel/sync/lock/global.rs:90:31
> |
> 90 | inner: self.inner.try_lock()?,
> | ^^^^^^^^
> |
> ::: rust/kernel/init/macros.rs:822:9
> |
> 822 | / $vis struct $name <$($decl_generics)*>
> 823 | | where $($whr)*
> 824 | | {
> 825 | | $($fields)*
> 826 | | }
> | |_________- method `try_lock` not found for this struct
> |
> help: there is a method `lock` with a similar name
> |
> 90 | inner: self.inner.lock()?,
> | ~~~~
>
Ok, I should have noticed this one depends on try_lock(), but it won't
be a problem since I plan to rebase on v6.13-rc1.
Regards,
Boqun
> --
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2024-10-29 4:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-29 4:22 [boqun:lockdep-for-tip 5/5] error[E0599]: no method named `try_lock` found for struct `Lock` in the current scope kernel test robot
2024-10-29 4:41 ` Boqun Feng [this message]
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=ZyBnbZXDo8KlJ3vC@boqun-archlinux \
--to=boqun.feng@gmail.com \
--cc=aliceryhl@google.com \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@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.