[PATCH] gfp flags annotations - part 1
authorAl Viro <viro@ftp.linux.org.uk>
Fri, 7 Oct 2005 06:46:04 +0000 (07:46 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 8 Oct 2005 22:00:57 +0000 (15:00 -0700)
commitdd0fc66fb33cd610bc1a5db8a5e232d34879b4d7
tree51f96a9db96293b352e358f66032e1f4ff79fafb
parent3b0e77bd144203a507eb191f7117d2c5004ea1de
[PATCH] gfp flags annotations - part 1

 - added typedef unsigned int __nocast gfp_t;

 - replaced __nocast uses for gfp flags with gfp_t - it gives exactly
   the same warnings as far as sparse is concerned, doesn't change
   generated code (from gcc point of view we replaced unsigned int with
   typedef) and documents what's going on far better.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
145 files changed:
arch/cris/arch-v32/drivers/pci/dma.c
arch/i386/kernel/pci-dma.c
arch/ppc64/kernel/bpa_iommu.c
arch/ppc64/kernel/dma.c
arch/ppc64/kernel/iommu.c
arch/ppc64/kernel/pci_direct_iommu.c
arch/ppc64/kernel/pci_iommu.c
arch/ppc64/kernel/vio.c
drivers/atm/ambassador.c
drivers/atm/firestream.c
drivers/atm/fore200e.c
drivers/base/dmapool.c
drivers/block/pktcdvd.c
drivers/bluetooth/bpa10x.c
drivers/bluetooth/hci_usb.c
drivers/connector/connector.c
drivers/ieee1394/raw1394.c
drivers/infiniband/core/mad.c
drivers/infiniband/core/sa_query.c
drivers/md/dm-crypt.c
drivers/md/dm-io.c
drivers/md/dm-raid1.c
drivers/md/multipath.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/net/bonding/bond_main.c
drivers/net/ns83820.c
drivers/net/sungem.h
drivers/s390/scsi/zfcp_aux.c
fs/bio.c
fs/buffer.c
fs/mpage.c
fs/ntfs/malloc.h
fs/posix_acl.c
fs/xfs/linux-2.6/kmem.c
fs/xfs/linux-2.6/kmem.h
include/asm-generic/dma-mapping.h
include/asm-i386/dma-mapping.h
include/asm-ppc/dma-mapping.h
include/asm-ppc64/dma-mapping.h
include/asm-ppc64/iommu.h
include/linux/atmdev.h
include/linux/bio.h
include/linux/buffer_head.h
include/linux/connector.h
include/linux/cpuset.h
include/linux/dmapool.h
include/linux/gfp.h
include/linux/jbd.h
include/linux/kfifo.h
include/linux/mempool.h
include/linux/netlink.h
include/linux/pagemap.h
include/linux/posix_acl.h
include/linux/radix-tree.h
include/linux/security.h
include/linux/skbuff.h
include/linux/slab.h
include/linux/string.h
include/linux/swap.h
include/linux/textsearch.h
include/linux/types.h
include/linux/vmalloc.h
include/net/bluetooth/bluetooth.h
include/net/bluetooth/rfcomm.h
include/net/dn_nsp.h
include/net/dn_route.h
include/net/inet_connection_sock.h
include/net/ip_vs.h
include/net/llc_conn.h
include/net/sctp/sctp.h
include/net/sctp/sm.h
include/net/sctp/structs.h
include/net/sctp/ulpevent.h
include/net/sctp/ulpqueue.h
include/net/sock.h
include/net/tcp.h
include/net/xfrm.h
include/rdma/ib_mad.h
include/rdma/ib_sa.h
include/rxrpc/call.h
include/rxrpc/message.h
include/sound/core.h
include/sound/driver.h
kernel/audit.c
kernel/cpuset.c
kernel/kfifo.c
kernel/signal.c
lib/radix-tree.c
lib/ts_bm.c
lib/ts_fsm.c
lib/ts_kmp.c
mm/highmem.c
mm/mempolicy.c
mm/mempool.c
mm/nommu.c
mm/oom_kill.c
mm/page_alloc.c
mm/page_io.c
mm/shmem.c
mm/slab.c
mm/swap_state.c
mm/vmalloc.c
net/atm/atm_misc.c
net/bluetooth/l2cap.c
net/bluetooth/rfcomm/core.c
net/bluetooth/rfcomm/sock.c
net/bluetooth/rfcomm/tty.c
net/bluetooth/sco.c
net/core/dev.c
net/core/skbuff.c
net/core/sock.c
net/dccp/ackvec.c
net/dccp/ackvec.h
net/dccp/ccids/lib/loss_interval.h
net/dccp/ccids/lib/packet_history.h
net/decnet/af_decnet.c
net/decnet/dn_nsp_out.c
net/ieee80211/ieee80211_tx.c
net/ipv4/inet_connection_sock.c
net/ipv4/ipvs/ip_vs_app.c
net/ipv4/tcp_output.c
net/key/af_key.c
net/llc/llc_conn.c
net/netfilter/nfnetlink.c
net/netlink/af_netlink.c
net/rxrpc/call.c
net/rxrpc/connection.c
net/sctp/associola.c
net/sctp/bind_addr.c
net/sctp/chunk.c
net/sctp/endpointola.c
net/sctp/protocol.c
net/sctp/sm_make_chunk.c
net/sctp/sm_sideeffect.c
net/sctp/ssnmap.c
net/sctp/transport.c
net/sctp/ulpevent.c
net/sctp/ulpqueue.c
net/sunrpc/sched.c
net/xfrm/xfrm_policy.c
sound/core/memalloc.c
sound/core/memory.c
sound/core/seq/instr/ainstr_iw.c
sound/core/wrappers.c