All of lore.kernel.org
 help / color / mirror / Atom feed
* [driver-core:driver-core-testing 12/12] Diff in samples/rust/rust_dma.rs:105:
@ 2026-01-24  4:34 kernel test robot
  2026-01-26 13:44 ` Gary Guo
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-01-24  4:34 UTC (permalink / raw)
  To: Gary Guo; +Cc: oe-kbuild-all, devel, Danilo Krummrich

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git driver-core-testing
head:   c991f93288cac176e6361617f91c17c63c23a86f
commit: c991f93288cac176e6361617f91c17c63c23a86f [12/12] rust: samples: dma: remove redundant `.as_ref()` for `dev_*` print
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260124/202601240553.wieP0mKV-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260124/202601240553.wieP0mKV-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601240553.wieP0mKV-lkp@intel.com/

All errors (new ones prefixed by >>):

   PATH=/opt/cross/clang-20/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
   INFO PATH=/opt/cross/rustc-1.88.0-bindgen-0.72.1/cargo/bin:/opt/cross/clang-20/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
   /usr/bin/timeout -k 100 12h /usr/bin/make KCFLAGS= -fno-crash-diagnostics -Wno-error=return-type -Wreturn-type -funsigned-char -Wundef -falign-functions=64 W=1 --keep-going LLVM=1 -j32 -C source O=/kbuild/obj/consumer/x86_64-rhel-9.4-rust ARCH=x86_64 SHELL=/bin/bash rustfmtcheck
   make: Entering directory '/kbuild/src/consumer'
   make[1]: Entering directory '/kbuild/obj/consumer/x86_64-rhel-9.4-rust'
>> Diff in samples/rust/rust_dma.rs:105:
            }
    
            for (i, entry) in self.sgt.iter().enumerate() {
   -            dev_info!(self.pdev, "Entry[{}]: DMA address: {:#x}", i, entry.dma_address());
   +            dev_info!(
   +                self.pdev,
   +                "Entry[{}]: DMA address: {:#x}",
   +                i,
   +                entry.dma_address()
   +            );
            }
        }
    }
   make[2]: *** [Makefile:1871: rustfmt] Error 123
   make[2]: Target 'rustfmtcheck' not remade because of errors.
   make[1]: Leaving directory '/kbuild/obj/consumer/x86_64-rhel-9.4-rust'
   make[1]: *** [Makefile:248: __sub-make] Error 2
   make[1]: Target 'rustfmtcheck' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2
   make: Target 'rustfmtcheck' not remade because of errors.
   make: Leaving directory '/kbuild/src/consumer'

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [driver-core:driver-core-testing 12/12] Diff in samples/rust/rust_dma.rs:105:
  2026-01-24  4:34 [driver-core:driver-core-testing 12/12] Diff in samples/rust/rust_dma.rs:105: kernel test robot
@ 2026-01-26 13:44 ` Gary Guo
  2026-01-26 13:48   ` Danilo Krummrich
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Guo @ 2026-01-26 13:44 UTC (permalink / raw)
  To: kernel test robot, Danilo Krummrich; +Cc: oe-kbuild-all, devel

On Sat Jan 24, 2026 at 4:34 AM GMT, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git driver-core-testing
> head:   c991f93288cac176e6361617f91c17c63c23a86f
> commit: c991f93288cac176e6361617f91c17c63c23a86f [12/12] rust: samples: dma: remove redundant `.as_ref()` for `dev_*` print
> config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260124/202601240553.wieP0mKV-lkp@intel.com/config)
> compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
> rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260124/202601240553.wieP0mKV-lkp@intel.com/reproduce)

Oops, forgot to invoke `make rustfmt`.

Danilo, can you fix this up from driver-core side?

Best,
Gary

>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202601240553.wieP0mKV-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
>    PATH=/opt/cross/clang-20/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
>    INFO PATH=/opt/cross/rustc-1.88.0-bindgen-0.72.1/cargo/bin:/opt/cross/clang-20/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
>    /usr/bin/timeout -k 100 12h /usr/bin/make KCFLAGS= -fno-crash-diagnostics -Wno-error=return-type -Wreturn-type -funsigned-char -Wundef -falign-functions=64 W=1 --keep-going LLVM=1 -j32 -C source O=/kbuild/obj/consumer/x86_64-rhel-9.4-rust ARCH=x86_64 SHELL=/bin/bash rustfmtcheck
>    make: Entering directory '/kbuild/src/consumer'
>    make[1]: Entering directory '/kbuild/obj/consumer/x86_64-rhel-9.4-rust'
>>> Diff in samples/rust/rust_dma.rs:105:
>             }
>     
>             for (i, entry) in self.sgt.iter().enumerate() {
>    -            dev_info!(self.pdev, "Entry[{}]: DMA address: {:#x}", i, entry.dma_address());
>    +            dev_info!(
>    +                self.pdev,
>    +                "Entry[{}]: DMA address: {:#x}",
>    +                i,
>    +                entry.dma_address()
>    +            );
>             }
>         }
>     }
>    make[2]: *** [Makefile:1871: rustfmt] Error 123
>    make[2]: Target 'rustfmtcheck' not remade because of errors.
>    make[1]: Leaving directory '/kbuild/obj/consumer/x86_64-rhel-9.4-rust'
>    make[1]: *** [Makefile:248: __sub-make] Error 2
>    make[1]: Target 'rustfmtcheck' not remade because of errors.
>    make: *** [Makefile:248: __sub-make] Error 2
>    make: Target 'rustfmtcheck' not remade because of errors.
>    make: Leaving directory '/kbuild/src/consumer'


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [driver-core:driver-core-testing 12/12] Diff in samples/rust/rust_dma.rs:105:
  2026-01-26 13:44 ` Gary Guo
@ 2026-01-26 13:48   ` Danilo Krummrich
  0 siblings, 0 replies; 3+ messages in thread
From: Danilo Krummrich @ 2026-01-26 13:48 UTC (permalink / raw)
  To: Gary Guo; +Cc: kernel test robot, oe-kbuild-all, devel

On Mon Jan 26, 2026 at 2:44 PM CET, Gary Guo wrote:
> On Sat Jan 24, 2026 at 4:34 AM GMT, kernel test robot wrote:
>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git driver-core-testing
>> head:   c991f93288cac176e6361617f91c17c63c23a86f
>> commit: c991f93288cac176e6361617f91c17c63c23a86f [12/12] rust: samples: dma: remove redundant `.as_ref()` for `dev_*` print
>> config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260124/202601240553.wieP0mKV-lkp@intel.com/config)
>> compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
>> rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260124/202601240553.wieP0mKV-lkp@intel.com/reproduce)
>
> Oops, forgot to invoke `make rustfmt`.
>
> Danilo, can you fix this up from driver-core side?

I did already. :)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-01-26 13:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-24  4:34 [driver-core:driver-core-testing 12/12] Diff in samples/rust/rust_dma.rs:105: kernel test robot
2026-01-26 13:44 ` Gary Guo
2026-01-26 13:48   ` Danilo Krummrich

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.