DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 00/11] remove unnecessary cast of void pointers
@ 2017-04-07 17:44 Stephen Hemminger
  2017-04-07 17:44 ` [dpdk-dev] [PATCH 01/11] table: remove unnecessary void cast Stephen Hemminger
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: Stephen Hemminger @ 2017-04-07 17:44 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

This is a set patches inspired by a set of Linux kernel patches
by simran singhal <singhalsimran0@gmail.com>

The following Coccinelle script was used to detect this:
@r@
expression x;
void* e;
type T;
identifier f;
@@
(
  *((T *)e)
|
  ((T *)x)[...]
|
  ((T*)x)->f
|

- (T*)
  e
)

Stephen Hemminger (11):
  table: remove unnecessary void cast
  kni: remove unnecessary cast of void pointers
  vhost: remove unnecessary cast of void pointer
  port: remove unnecessary cast of void pointers
  crypto: remove unnecessary cast of void pointer
  acl: remove unnecessary cast of void pointer
  eal: remove unnecessary cast of void pointer
  net: remmove unnecessary cast of void pointer
  ether: remove unnecessary cast of void pointer
  mempool: remove unnecessary cast of void pointer
  test: remove unnecessary cast of void pointer

 lib/librte_acl/acl_bld.c                           |  8 ++---
 lib/librte_cryptodev/rte_cryptodev.c               |  4 +--
 lib/librte_eal/bsdapp/eal/eal.c                    |  4 +--
 lib/librte_eal/linuxapp/eal/eal.c                  |  2 +-
 lib/librte_eal/linuxapp/eal/eal_memory.c           |  8 ++---
 .../linuxapp/kni/ethtool/igb/igb_ethtool.c         |  2 +-
 lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c |  8 ++---
 .../linuxapp/kni/ethtool/ixgbe/ixgbe_ethtool.c     |  4 +--
 lib/librte_eal/linuxapp/kni/kni_misc.c             |  2 +-
 lib/librte_ether/rte_ethdev.c                      |  2 +-
 lib/librte_mempool/rte_mempool.c                   |  2 +-
 lib/librte_net/rte_net_crc.c                       |  2 +-
 lib/librte_port/rte_port_ethdev.c                  | 26 +++++++-------
 lib/librte_port/rte_port_fd.c                      | 26 +++++++-------
 lib/librte_port/rte_port_frag.c                    |  6 ++--
 lib/librte_port/rte_port_kni.c                     | 26 +++++++-------
 lib/librte_port/rte_port_ras.c                     | 12 +++----
 lib/librte_port/rte_port_ring.c                    | 40 +++++++++++-----------
 lib/librte_port/rte_port_sched.c                   | 10 +++---
 lib/librte_port/rte_port_source_sink.c             | 20 +++++------
 lib/librte_table/rte_table_acl.c                   | 24 ++++++-------
 lib/librte_table/rte_table_array.c                 | 11 +++---
 lib/librte_table/rte_table_hash_cuckoo.c           |  8 ++---
 lib/librte_table/rte_table_hash_ext.c              | 10 +++---
 lib/librte_table/rte_table_hash_key16.c            | 14 ++++----
 lib/librte_table/rte_table_hash_key32.c            | 16 ++++-----
 lib/librte_table/rte_table_hash_key8.c             | 14 ++++----
 lib/librte_table/rte_table_hash_lru.c              | 10 +++---
 lib/librte_table/rte_table_lpm.c                   | 14 ++++----
 lib/librte_table/rte_table_lpm_ipv6.c              | 14 ++++----
 lib/librte_table/rte_table_stub.c                  |  2 +-
 lib/librte_vhost/virtio_net.c                      |  6 ++--
 test/test-pipeline/pipeline_hash.c                 |  2 +-
 test/test/test_efd.c                               |  2 +-
 test/test/test_interrupts.c                        |  4 +--
 test/test/test_mbuf.c                              |  2 +-
 test/test/test_table.c                             |  2 +-
 test/test/test_table_acl.c                         |  2 +-
 test/test/test_table_pipeline.c                    |  2 +-
 test/test/virtual_pmd.c                            |  4 +--
 40 files changed, 188 insertions(+), 189 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-04-11 16:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-07 17:44 [dpdk-dev] [PATCH 00/11] remove unnecessary cast of void pointers Stephen Hemminger
2017-04-07 17:44 ` [dpdk-dev] [PATCH 01/11] table: remove unnecessary void cast Stephen Hemminger
2017-04-07 17:44 ` [dpdk-dev] [PATCH 02/11] kni: remove unnecessary cast of void pointers Stephen Hemminger
2017-04-10  9:29   ` Ferruh Yigit
2017-04-07 17:44 ` [dpdk-dev] [PATCH 03/11] vhost: remove unnecessary cast of void pointer Stephen Hemminger
2017-04-07 17:44 ` [dpdk-dev] [PATCH 04/11] port: remove unnecessary cast of void pointers Stephen Hemminger
2017-04-07 17:44 ` [dpdk-dev] [PATCH 05/11] crypto: remove unnecessary cast of void pointer Stephen Hemminger
2017-04-07 17:44 ` [dpdk-dev] [PATCH 06/11] acl: " Stephen Hemminger
2017-04-07 17:44 ` [dpdk-dev] [PATCH 07/11] eal: " Stephen Hemminger
2017-04-07 17:44 ` [dpdk-dev] [PATCH 08/11] net: remmove " Stephen Hemminger
2017-04-07 17:44 ` [dpdk-dev] [PATCH 09/11] ether: remove " Stephen Hemminger
2017-04-07 17:44 ` [dpdk-dev] [PATCH 10/11] mempool: " Stephen Hemminger
2017-04-07 17:44 ` [dpdk-dev] [PATCH 11/11] test: " Stephen Hemminger
2017-04-08 19:42 ` [dpdk-dev] [PATCH 00/11] remove unnecessary cast of void pointers Thomas Monjalon
2017-04-11 16:06 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).