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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 25 Dec 2023 17:54:03 +0800
From: fuyao <fuyao@...erm.com>
To: Jernej Škrabec <jernej.skrabec@...il.com>,
	Lee Jones <lee@...nel.org>
Cc: Andre Przywara <andre.przywara@....com>, Lee Jones <lee@...nel.org>,
	fuyao <fuyao1697@....com>, Chen-Yu Tsai <wens@...e.org>,
	Samuel Holland <samuel@...lland.org>,
	linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
	linux-kernel@...r.kernel.org, Maxime Ripard <mripard@...nel.org>,
	maijianzhang <maijianzhang@...winnertech.com>
Subject: Re: [PATCH RESEND] iio: adc: sun4i-gpadc-iio: adaptation interrupt
 number

On Fri, Dec 22, 2023 at 06:54:53PM +0100, Jernej Škrabec wrote:
> Dne četrtek, 21. december 2023 ob 16:25:53 CET je Lee Jones napisal(a):
> > On Wed, 20 Dec 2023, Andre Przywara wrote:
> > 
> > > On Wed, 20 Dec 2023 15:23:17 +0800
> > > fuyao <fuyao1697@....com> wrote:
> > > 
> > > Hi,
> > > 
> > > > __platform_get_irq_byname determinies whether the interrupt
> > > > number is 0 and returns EINVAL.
> > > 
> > > can you please say what this fixes, exactly? Is something not working at
> > > the moment? Can you please provide parts of the error message?
> > > 
> > > And maybe expand the explanation a bit more? For instance mention that the
> > > identifiers are used as IRQ resource numbers, where 0 is treated specially.
> > > 
> > > Cheers,
> > > Andre
> > > 
> > > > 
> > > > Signed-off-by: fuyao <fuyao1697@....com>
> > 
> > You have to use your full real name as well.

> 
> Isn't that enough after
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4563201f33a022fc0353033d9dfeb1606a88330 ?

Thanks

> 
> Best regards,
> Jernej
> 
> > 
> > > > Acked-by: Jernej Skrabec <jernej.skrabec@...il.com>
> > > > ---
> > > >  include/linux/mfd/sun4i-gpadc.h | 4 ++--
> > > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > > > 
> > > > diff --git a/include/linux/mfd/sun4i-gpadc.h b/include/linux/mfd/sun4i-gpadc.h
> > > > index ea0ccf33a459..021f820f9d52 100644
> > > > --- a/include/linux/mfd/sun4i-gpadc.h
> > > > +++ b/include/linux/mfd/sun4i-gpadc.h
> > > > @@ -81,8 +81,8 @@
> > > >  #define SUN4I_GPADC_TEMP_DATA				0x20
> > > >  #define SUN4I_GPADC_DATA				0x24
> > > >  
> > > > -#define SUN4I_GPADC_IRQ_FIFO_DATA			0
> > > > -#define SUN4I_GPADC_IRQ_TEMP_DATA			1
> > > > +#define SUN4I_GPADC_IRQ_FIFO_DATA			1
> > > > +#define SUN4I_GPADC_IRQ_TEMP_DATA			2
> > > >  
> > > >  /* 10s delay before suspending the IP */
> > > >  #define SUN4I_GPADC_AUTOSUSPEND_DELAY			10000
> > > 
> > 
> > 
> 
> 
> 
> 

-- 
CYG Technology.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ