Re: [PATCH] kselftest/arm64: Check that SVCR is 0 in signal handlers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 12, 2024 at 11:30:14AM +0000, Catalin Marinas wrote:
> On Wed, Nov 06, 2024 at 05:07:51PM +0000, Mark Brown wrote:

> > +		fprintf(stderr, "Unexpected SVCR %llx\n", get_svcr());
> > +		return 1;
> > +	}

> I think I'll change both printf specifiers to %lx here since in the libc
> I have installed, uin64_t is an unsigned long (the kernel defines it as
> unsigned long long). Both gcc and clang complain but the compiler
> shouldn't matter since the headers come with glibc.

Makes sense.  I do wish the compilers were more consistent with
including these warnings :(

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux