Messages in this thread | | | From | Arnd Bergmann <> | Date | Fri, 15 Jul 2022 09:40:46 +0200 | Subject | Re: [Patch net-next] net: dsa: microchip: fix Clang -Wunused-const-variable warning on 'ksz_dt_ids' |
| |
On Fri, Jul 15, 2022 at 7:33 AM Arun Ramadoss <arun.ramadoss@microchip.com> wrote: > > This patch removes the of_match_ptr() pointer when dereferencing the > ksz_dt_ids which produce the unused variable warning. > > Reported-by: kernel test robot <lkp@intel.com> > Suggested-by: Arnd Bergmann <arnd@kernel.org> > Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Looks good to me, thanks!
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
| |