Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1385301

Re: [PATCH 2/2] genirq: Add error code reporting to irq_{reserve,destroy}_ipi

From Matt Redfearn <matt.redfearn@imgtec.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] genirq: Add error code reporting to irq_{reserve,destroy}_ipi
Date 2016-04-22 17:50 +0200
Message-ID <rqLvc-49a-25@gated-at.bofh.it> (permalink)
References <rqLbQ-419-23@gated-at.bofh.it> <rqLbR-419-31@gated-at.bofh.it> <rqLlw-44Z-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Apr 22, 2016 at 05:35:46PM +0200, Thomas Gleixner wrote:
> On Fri, 22 Apr 2016, Matt Redfearn wrote:
> 
> > Make these functions return appropriate error codes when something goes
> > wrong.
> 
> And the reason for this change is?

Hi Thomas,

Mainly for irq_destroy_ipi, where the first patch in the set makes
it possible for the request to fail. But in general with both of these
functions it is possible for them to silently fail without giving the
caller any idication if inapropriate arguments are passed.

Thanks,
Matt

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] genirq: Make irq_destroy_ipi take a cpumask of IPIs to destroy Matt Redfearn <matt.redfearn@imgtec.com> - 2016-04-22 17:30 +0200
  [PATCH 2/2] genirq: Add error code reporting to irq_{reserve,destroy}_ipi Matt Redfearn <matt.redfearn@imgtec.com> - 2016-04-22 17:30 +0200
    Re: [PATCH 2/2] genirq: Add error code reporting to  irq_{reserve,destroy}_ipi Thomas Gleixner <tglx@linutronix.de> - 2016-04-22 17:40 +0200
      Re: [PATCH 2/2] genirq: Add error code reporting to  irq_{reserve,destroy}_ipi Matt Redfearn <matt.redfearn@imgtec.com> - 2016-04-22 17:50 +0200

csiph-web