lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <03628cc1-d08e-fada-a5ab-f1942d09a461@infradead.org>
Date:   Tue, 17 Nov 2020 19:57:23 -0800
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Stephen Rothwell <sfr@...b.auug.org.au>,
        Linux Next Mailing List <linux-next@...r.kernel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Michal Simek <monstr@...str.eu>
Subject: Re: linux-next: Tree for Nov 17 (microblaze + highmem changes)

On 11/16/20 11:46 PM, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20201116:
> 

on arch/microblaze/, without CONFIG_HIGHMEM:
also CONFIG_MMU is not set.


Note this one also:
../arch/microblaze/mm/init.c: At top level:
../arch/microblaze/mm/init.c:71:2: error: #endif without #if


In file included from ../include/linux/kernel.h:16,
                 from ../include/linux/list.h:9,
                 from ../include/linux/rculist.h:10,
                 from ../include/linux/pid.h:5,
                 from ../include/linux/sched.h:14,
                 from ../include/linux/ratelimit.h:6,
                 from ../include/linux/dev_printk.h:16,
                 from ../include/linux/device.h:15,
                 from ../include/linux/dma-mapping.h:7,
                 from ../include/linux/dma-map-ops.h:9,
                 from ../arch/microblaze/mm/init.c:10:
../arch/microblaze/mm/init.c: In function 'highmem_init':
../arch/microblaze/mm/init.c:54:24: error: 'PKMAP_BASE' undeclared (first use in this function); did you mean 'AT_BASE'?
   54 |  pr_debug("%x\n", (u32)PKMAP_BASE);
      |                        ^~~~~~~~~~
../include/linux/printk.h:140:17: note: in definition of macro 'no_printk'
  140 |   printk(fmt, ##__VA_ARGS__);  \
      |                 ^~~~~~~~~~~
../arch/microblaze/mm/init.c:54:2: note: in expansion of macro 'pr_debug'
   54 |  pr_debug("%x\n", (u32)PKMAP_BASE);
      |  ^~~~~~~~
../arch/microblaze/mm/init.c:54:24: note: each undeclared identifier is reported only once for each function it appears in
   54 |  pr_debug("%x\n", (u32)PKMAP_BASE);
      |                        ^~~~~~~~~~
../include/linux/printk.h:140:17: note: in definition of macro 'no_printk'
  140 |   printk(fmt, ##__VA_ARGS__);  \
      |                 ^~~~~~~~~~~
../arch/microblaze/mm/init.c:54:2: note: in expansion of macro 'pr_debug'
   54 |  pr_debug("%x\n", (u32)PKMAP_BASE);
      |  ^~~~~~~~
  EXTRACT_CERTS   
../arch/microblaze/mm/init.c:55:2: error: implicit declaration of function 'map_page' [-Werror=implicit-function-declaration]
   55 |  map_page(PKMAP_BASE, 0, 0); /* XXX gross */
      |  ^~~~~~~~
  CC      certs/blacklist.o
../arch/microblaze/mm/init.c:56:2: error: 'pkmap_page_table' undeclared (first use in this function)
   56 |  pkmap_page_table = virt_to_kpte(PKMAP_BASE);
      |  ^~~~~~~~~~~~~~~~
../arch/microblaze/mm/init.c:56:21: error: implicit declaration of function 'virt_to_kpte'; did you mean 'virt_to_pfn'? [-Werror=implicit-function-declaration]
   56 |  pkmap_page_table = virt_to_kpte(PKMAP_BASE);
      |                     ^~~~~~~~~~~~
      |                     virt_to_pfn
../arch/microblaze/mm/init.c: In function 'highmem_setup':
../arch/microblaze/mm/init.c:68:4: error: implicit declaration of function 'free_highmem_page'; did you mean 'free_unref_page'? [-Werror=implicit-function-declaration]
   68 |    free_highmem_page(page);
      |    ^~~~~~~~~~~~~~~~~
      |    free_unref_page
../arch/microblaze/mm/init.c: At top level:
../arch/microblaze/mm/init.c:71:2: error: #endif without #if
   71 | #endif /* CONFIG_HIGHMEM */
      |  ^~~~~
  CC      arch/microblaze/kernel/cpu/cpuinfo.o
../arch/microblaze/mm/init.c:59:13: warning: 'highmem_setup' defined but not used [-Wunused-function]
   59 | static void highmem_setup(void)
      |             ^~~~~~~~~~~~~
../arch/microblaze/mm/init.c:52:20: warning: 'highmem_init' defined but not used [-Wunused-function]
   52 | static void __init highmem_init(void)
      |                    ^~~~~~~~~~~~
cc1: some warnings being treated as errors


Kernel config file is attached.

-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@...radead.org>

Download attachment "ublz.config" of type "application/x-config" (161289 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ