010-warnings.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --- a/src/drv_mei_cpe_api.h
  2. +++ b/src/drv_mei_cpe_api.h
  3. @@ -937,7 +937,7 @@ typedef struct MEI_dev_s
  4. #if ( defined(MEI_DRVOS_HAVE_DRV_SELECT) && (MEI_DRVOS_HAVE_DRV_SELECT == 1) )
  5. /** support for select() */
  6. IFX_boolean_t bNfcNeedWakeUp;
  7. - MEI_DRVOS_event_t selNfcWakeupList;
  8. + IFXOS_drvSelectQueue_t selNfcWakeupList;
  9. #endif
  10. /** list of all open instances which can receive NFC's, EVT's ALM's */
  11. --- a/src/drv_mei_cpe_linux.c
  12. +++ b/src/drv_mei_cpe_linux.c
  13. @@ -1220,9 +1220,9 @@ static unsigned int MEI_Poll (struct fil
  14. }
  15. MEI_DRVOS_SelectQueueAddTask(
  16. - (MEI_DRVOS_select_OSArg_t*) filp,
  17. - (MEI_DRVOS_event_t*) &(pMeiDev->selNfcWakeupList),
  18. - (MEI_DRVOS_selectTable_t*) wait);
  19. + filp,
  20. + &(pMeiDev->selNfcWakeupList),
  21. + wait);
  22. if (pDynNfc->pRecvDataCntrl[pDynNfc->rdIdxRd].bufCtrl != MEI_RECV_BUF_CTRL_FREE) /* buffer in use */
  23. {
  24. --- a/src/Makefile.am
  25. +++ b/src/Makefile.am
  26. @@ -201,7 +201,7 @@ else
  27. drv_mei_cpe_common_cflags = \
  28. $(AM_CFLAGS) -D__KERNEL__ -DLINUX -D__linux__ -DMODULE -DEXPORT_SYMTAB \
  29. - -pipe -Wno-format -Wimplicit -Wunused -Wuninitialized -Wsign-compare -Wstrict-aliasing
  30. + -pipe -Wall -Wimplicit -Wunused -Wuninitialized -Wstrict-aliasing
  31. endif