Hi Ayush,
kernel test robot noticed the following build warnings:
[auto build test WARNING on becb95e45ef0dda9ffb35156d909d3da7a2789c3]
url: https://github.com/intel-lab-lkp/linux/commits/Ayush-Singh/greybus-connectio... base: becb95e45ef0dda9ffb35156d909d3da7a2789c3 patch link: https://lore.kernel.org/r/20261013-gb-uart-transport-v3-4-81d0a8a1acf7%40bea... patch subject: [PATCH v3 4/7] rust: kernel: Add greybus abstractions config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20261017/202610172306.ttuZsLWg-lkp@i...) compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1) rustc: rustc 1.96.0 (ac68faa20 2026-05-25) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261017/202610172306.ttuZsLWg-lkp@i...)
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/202610172306.ttuZsLWg-lkp@intel.com/
All warnings (new ones prefixed by >>):
warning: associated function `new` is never used
--> rust/kernel/alloc.rs:42:19 | 40 | impl Flags { | ---------- associated function in this implementation 41 | /// Create from gfp_t 42 | pub(crate) fn new(v: bindings::gfp_t) -> Self { | ^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki