Content-Type: multipart/mixed; boundary="===============3303553606509545162==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH 02/73] libata: Add ata_port_classify() helper Date: Thu, 09 Dec 2021 12:20:09 +0800 Message-ID: <202112091250.Wg19kdGn-lkp@intel.com> In-Reply-To: <20211208163255.114660-3-hare@suse.de> List-Id: --===============3303553606509545162== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Hannes, I love your patch! Perhaps something to improve: [auto build test WARNING on rostedt-trace/for-next] [also build test WARNING on axboe-block/for-next linus/master v5.16-rc4 nex= t-20211208] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Hannes-Reinecke/libata-rew= ork-logging-take-II/20211209-003634 base: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace= .git for-next config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/202112= 09/202112091250.Wg19kdGn-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/6b66f083c8ccc2d25de4c0a9b= c9229f38952bf10 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Hannes-Reinecke/libata-rework-logg= ing-take-II/20211209-003634 git checkout 6b66f083c8ccc2d25de4c0a9bc9229f38952bf10 # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash drivers/at= a/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/ata/libata-core.c:972:13: warning: no previous prototype for 'at= a_dev_class_string' [-Wmissing-prototypes] 972 | const char *ata_dev_class_string(unsigned int class) | ^~~~~~~~~~~~~~~~~~~~ vim +/ata_dev_class_string +972 drivers/ata/libata-core.c 971 = > 972 const char *ata_dev_class_string(unsigned int class) 973 { 974 static const char * const class_str[] =3D { 975 "unknown", 976 "ATA", 977 "ATA (unsupported)", 978 "ATAPI", 979 "ATAPI (unsupported", 980 "PMP", 981 "PMP (unsupported)", 982 "SEMB", 983 "SEMB (unsupported)", 984 "ZAC", 985 "ZAC (unsupported)", 986 "none", 987 }; 988 if (class =3D=3D 0 || (class - 1) >=3D ARRAY_SIZE(class_str)) 989 return "unknown"; 990 return class_str[class - 1]; 991 } 992 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============3303553606509545162==--