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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <a4423d670903300253q2b7d6934n6407f3780556d275@mail.gmail.com>
Date:	Mon, 30 Mar 2009 13:53:39 +0400
From:	Alexander Beregalov <a.beregalov@...il.com>
To:	kyle@...artin.ca, linux-parisc@...r.kernel.org,
	"linux-next@...r.kernel.org" <linux-next@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Rusty Russell <rusty@...tcorp.com.au>,
	Mike Travis <travis@....com>
Subject: Re: [PATCH next 2/2] PARISC: iosapic: fix build breakage

2009/3/20 Alexander Beregalov <a.beregalov@...il.com>:
> drivers/parisc/iosapic.c:717: error: incompatible types in assignment
>
> irq_desc::affinity was changed from cpumask_t to cpumask_var_t in
> 7f7ace0cda (cpumask: update irq_desc to use cpumask_var_t)
>
> Signed-off-by: Alexander Beregalov <a.beregalov@...il.com>
Could anybody please comment it?
Current -git does not build on parisc.

> ---
>
>  drivers/parisc/iosapic.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/parisc/iosapic.c b/drivers/parisc/iosapic.c
> index 501aaf1..73348c4 100644
> --- a/drivers/parisc/iosapic.c
> +++ b/drivers/parisc/iosapic.c
> @@ -714,7 +714,7 @@ static void iosapic_set_affinity_irq(unsigned int irq,
>        if (dest_cpu < 0)
>                return;
>
> -       irq_desc[irq].affinity = cpumask_of_cpu(dest_cpu);
> +       cpumask_copy(irq_desc[irq].affinity, cpumask_of(dest_cpu));
>        vi->txn_addr = txn_affinity_addr(irq, dest_cpu);
>
>        spin_lock_irqsave(&iosapic_lock, flags);
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ