Linux-Next Archive on lore.kernel.org
 help / color / Atom feed
* linux-next: build warning after merge of the security tree
@ 2019-08-12  5:04 Stephen Rothwell
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2019-08-12  5:04 UTC (permalink / raw)
  To: James Morris
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Jiri Bohac,
	David Howells, Matthew Garrett, Dave Young

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

Hi all,

After merging the security tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

kernel/kexec_file.c: In function 'kimage_file_prepare_segments':
kernel/kexec_file.c:189:14: warning: unused variable 'reason' [-Wunused-variable]
  const char *reason;
              ^~~~~~

Introduced by commit

  47b888368923 ("kexec_file: split KEXEC_VERIFY_SIG into KEXEC_SIG and KEXEC_SIG_FORCE")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: build warning after merge of the security tree
  2014-08-04  6:25 Stephen Rothwell
@ 2014-08-05 19:49 ` Paul Moore
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Moore @ 2014-08-05 19:49 UTC (permalink / raw)
  To: Stephen Rothwell, James Morris; +Cc: linux-next, linux-kernel, Casey Schaufler

On Monday, August 04, 2014 04:25:49 PM Stephen Rothwell wrote:
> Hi James,
> 
> After merging the security tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
> 
> In file included from include/net/cipso_ipv4.h:41:0,
>                  from net/ipv4/sysctl_net_ipv4.c:24:
> include/net/netlabel.h:527:12: warning: 'netlbl_catmap_setlong' defined but
> not used [-Wunused-function] static int netlbl_catmap_setlong(struct
> netlbl_lsm_catmap **catmap, ^
> 
> Introduced by commit 4b8feff251da ("netlabel: fix the horribly broken
> catmap functions").

Looks like I forgot to mark the dummy function as an inline, I'll get that 
fixed soon.

-- 
paul moore
security and virtualization @ redhat

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

* linux-next: build warning after merge of the security tree
@ 2014-08-04  6:25 Stephen Rothwell
  2014-08-05 19:49 ` Paul Moore
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2014-08-04  6:25 UTC (permalink / raw)
  To: James Morris; +Cc: linux-next, linux-kernel, Paul Moore, Casey Schaufler

[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

Hi James,

After merging the security tree, today's linux-next build (powerpc ppc64_defconfig)
produced this warning:

In file included from include/net/cipso_ipv4.h:41:0,
                 from net/ipv4/sysctl_net_ipv4.c:24:
include/net/netlabel.h:527:12: warning: 'netlbl_catmap_setlong' defined but not used [-Wunused-function]
 static int netlbl_catmap_setlong(struct netlbl_lsm_catmap **catmap,
            ^

Introduced by commit 4b8feff251da ("netlabel: fix the horribly broken
catmap functions").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: linux-next: build warning after merge of the security tree
  2012-04-23  6:56 Stephen Rothwell
@ 2012-04-23 15:23 ` Kees Cook
  0 siblings, 0 replies; 5+ messages in thread
From: Kees Cook @ 2012-04-23 15:23 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: James Morris, linux-next, linux-kernel

On Sun, Apr 22, 2012 at 11:56 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> After merging the security tree, today's linux-next build (powerpc
> allyesconfig) produced this warning:
>
> security/yama/yama_lsm.c:322:12: warning: 'one' defined but not used [-Wunused-variable]
>
> Introduced by commit 389da25f93ee ("Yama: add additional ptrace scopes").

Thanks! This has already been taken care of:

http://marc.info/?l=linux-security-module&m=133516581114617&w=2

-Kees

-- 
Kees Cook
Chrome OS Security

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

* linux-next: build warning after merge of the security tree
@ 2012-04-23  6:56 Stephen Rothwell
  2012-04-23 15:23 ` Kees Cook
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2012-04-23  6:56 UTC (permalink / raw)
  To: James Morris; +Cc: linux-next, linux-kernel, Kees Cook

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

Hi James,

After merging the security tree, today's linux-next build (powerpc
allyesconfig) produced this warning:

security/yama/yama_lsm.c:322:12: warning: 'one' defined but not used [-Wunused-variable]

Introduced by commit 389da25f93ee ("Yama: add additional ptrace scopes").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, back to index

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-12  5:04 linux-next: build warning after merge of the security tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2014-08-04  6:25 Stephen Rothwell
2014-08-05 19:49 ` Paul Moore
2012-04-23  6:56 Stephen Rothwell
2012-04-23 15:23 ` Kees Cook

Linux-Next Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-next/0 linux-next/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-next linux-next/ https://lore.kernel.org/linux-next \
		linux-next@vger.kernel.org linux-next@archiver.kernel.org
	public-inbox-index linux-next


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-next


AGPL code for this site: git clone https://public-inbox.org/ public-inbox