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:	Thu, 08 Aug 2013 19:39:44 -0700
From:	Joe Perches <joe@...ches.com>
To:	Kumar Gaurav <kumargauravgupta3@...il.com>
Cc:	David Miller <davem@...emloft.net>, dan.carpenter@...cle.com,
	emilio@...pez.com.ar, mugunthanvnm@...com, jg1.han@...sung.com,
	hsweeten@...ionengravers.com, netdev@...r.kernel.org,
	kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] net:ethernet:korina.c Removed IRQF_DISABLED

On Fri, 2013-08-09 at 07:54 +0530, Kumar Gaurav wrote:
> On Friday 09 August 2013 03:03 AM, Joe Perches wrote:
> > On Thu, 2013-08-08 at 14:20 -0700, David Miller wrote:
> >> So what's the problem again? :-)
> I'm quite new to kernel development. I saw in one of the patches which 
> fixes IRQF_DISABLED issue by removing so i did.

Hi Kumar.

No worries, welcome.

> > Wouldn't it be better to do a sed 's/IRQF_DISABLED/0/' instead?
> > Maybe Kumar wants to/is doing that?
> Yes i wanted to do the same and i retrieved list of all programs 
> containing IRQF_DISABLED but i didn't wanted to send all of them in one 
> patch. I would be sending them for one program in one patch.

You should definitely not send a single patch.

$ git grep -w --name-only IRQF_DISABLED | wc -l
245

I think that's way too many modified files for a
single patch.

If you do it, please remember to change bits like
"(IRQF_<foo> | IRQF_DISABLED)" so that instead of
"(IRQF_<foo> | 0)", you use just "IRQF_<foo>".

And, maybe it'd be better to use IRQF_TRIGGER_NONE
instead of 0.

Perhaps you could send patches bundled together
in sensible chunks, say, second level directories.

Something like:

$ git grep -w --name-only IRQF_DISABLED | cut -f1,2 -d"/" | uniq -c
      1 Documentation/PCI
      3 Documentation/scsi
     62 arch/arm
      1 arch/avr32
     14 arch/cris
      4 arch/frv
      4 arch/h8300
      5 arch/ia64
      1 arch/m32r
      7 arch/m68k
      1 arch/microblaze
      4 arch/mn10300
      1 arch/score
      2 arch/sparc
      6 arch/x86
      5 drivers/block
      2 drivers/bus
      1 drivers/cdrom
      7 drivers/char
     12 drivers/clocksource
      1 drivers/crypto
      5 drivers/dma
      3 drivers/edac
      2 drivers/isdn
     21 drivers/media
      2 drivers/misc
      3 drivers/mtd
     28 drivers/net
      1 drivers/pnp
     24 drivers/scsi
      1 drivers/staging
      2 drivers/tty
      3 drivers/usb
      2 drivers/w1
      2 drivers/xen
      1 include/linux
      1 include/net



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ