OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../linux26mm/hotfix_amso1100.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. CC [M] drivers/infiniband/hw/amso1100/c2_ae.o
  17. drivers/infiniband/hw/amso1100/c2_ae.c: In function 'c2_ae_event':
  18. drivers/infiniband/hw/amso1100/c2_ae.c:199: warning: implicit declaration of function 'to_event_str'
  19. drivers/infiniband/hw/amso1100/c2_ae.c:203: warning: implicit declaration of function 'to_qp_state_str'
  20. drivers/infiniband/hw/amso1100/c2_ae.c:203: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
  21. drivers/infiniband/hw/amso1100/c2_ae.c:203: warning: format '%s' expects type 'char *', but argument 7 has type 'int'
  22. WARNING: "to_qp_state_str" [drivers/infiniband/hw/amso1100/iw_c2.ko] undefined!
  23. WARNING: "to_event_str" [drivers/infiniband/hw/amso1100/iw_c2.ko] undefined!
  24. --- ./drivers/infiniband/hw/amso1100/c2_ae.c.orig 2006-10-09 06:47:05.000000000 -0400
  25. +++ ./drivers/infiniband/hw/amso1100/c2_ae.c 2006-10-09 07:16:03.000000000 -0400
  26. @@ -66,7 +66,6 @@
  27. }
  28. }
  29. -#ifdef DEBUG
  30. static const char* to_event_str(int event)
  31. {
  32. static const char* event_str[] = {
  33. @@ -144,7 +143,6 @@
  34. return "<invalid QP state>";
  35. };
  36. }
  37. -#endif
  38. void c2_ae_event(struct c2_dev *c2dev, u32 mq_index)
  39. {