1. 18 4月, 2011 1 次提交
    • D
      isdn: eicon: Fix set-but-unused variables. · 2d09d567
      David S. Miller 提交于
      The variable 'best_id' is set but unused in
      diva_mnt_add_xdi_adapter().  Just kill it off.
      
      Similarly for the variable 'CIP' in connect_req(), 'Number' in
      sig_ind(), 'Info' in dtmf_confirmation() mixer_command()
      fax_connect_ack_command() fax_edata_ack_command()
      rtp_connect_b3_res_command() and rtp_connect_b3_res_command(), and 'a'
      in mixer_indication_coefs_set(),
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2d09d567
  2. 31 3月, 2011 1 次提交
  3. 16 3月, 2010 2 次提交
    • I
      i4l: change magic numbers in Eicon DIVA ISDN driver to symbolic names · 255f5c32
      Ian Munsie 提交于
      Replace references to the '20' magic number found throughout the Eicon
      ISDN driver for the length of the station_id field in the T30_INFO struct
      with the T30_MAX_STATION_ID_LENGTH symbolic constant.
      Signed-off-by: NIan Munsie <imunsie@au.ibm.com>
      Cc: Armin Schindler <mac@melware.de>
      Cc: Karsten Keil <isdn@linux-pingi.de>
      Cc: Stoyan Gaydarov <sgayda2@uiuc.edu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      255f5c32
    • I
      i4l: silence compiler warnings for array access in Eicon DIVA ISDN driver · 8b4017d8
      Ian Munsie 提交于
      When compiling this driver, the compiler throws the following warnings:
      
      drivers/isdn/hardware/eicon/message.c:8426: warning: array subscript is above array bounds
      drivers/isdn/hardware/eicon/message.c:8427: warning: array subscript is above array bounds
      drivers/isdn/hardware/eicon/message.c:8434: warning: array subscript is above array bounds
      drivers/isdn/hardware/eicon/message.c:8435: warning: array subscript is above array bounds
      drivers/isdn/hardware/eicon/message.c:8436: warning: array subscript is above array bounds
      drivers/isdn/hardware/eicon/message.c:8447: warning: array subscript is above array bounds
      
      This arises from the particular semantics the driver is using to write to
      the nlc array (static byte[256]).  The array has a length in byte 0
      followed by a T30_INFO struct starting at byte 1.
      
      The T30_INFO struct has a number of variable length strings after the
      station_id entry, which cannot be explicitly defined in the struct and the
      driver accesses them with an array index to station_id beyond the length
      of station_id.
      
      This patch merely changes the semantics that the driver uses to access the
      entries after the station_id entry to use the original 256 byte nlc array
      taking the offset and length of the station_id entry to calculate where to
      write in the array, thereby silencing the warning.
      Signed-off-by: NIan Munsie <imunsie@au.ibm.com>
      Cc: Armin Schindler <mac@melware.de>
      Cc: Karsten Keil <isdn@linux-pingi.de>
      Cc: Stoyan Gaydarov <sgayda2@uiuc.edu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      8b4017d8
  4. 05 11月, 2009 1 次提交
  5. 26 7月, 2009 1 次提交
  6. 27 2月, 2009 1 次提交
    • H
      drivers/isdn/hardware/eicon: fix sparse warnings: Should it be static? · 465e9850
      Hannes Eder 提交于
      Impact: Make symbols static.
      
      Fix this sparse warnings:
        drivers/isdn/hardware/eicon/message.c:1197:6: warning: symbol 'connect_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:1414:6: warning: symbol 'connect_res' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:1570:6: warning: symbol 'connect_a_res' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:1576:6: warning: symbol 'disconnect_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:1631:6: warning: symbol 'disconnect_res' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:1658:6: warning: symbol 'listen_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:1707:6: warning: symbol 'info_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:1816:6: warning: symbol 'info_res' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:1822:6: warning: symbol 'alert_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:1852:6: warning: symbol 'facility_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:2602:6: warning: symbol 'facility_res' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:2608:6: warning: symbol 'connect_b3_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:2842:6: warning: symbol 'connect_b3_res' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:2957:6: warning: symbol 'connect_b3_a_res' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:2977:6: warning: symbol 'disconnect_b3_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:3033:6: warning: symbol 'disconnect_b3_res' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:3089:6: warning: symbol 'data_b3_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:3166:6: warning: symbol 'data_b3_res' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:3199:6: warning: symbol 'reset_b3_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:3240:6: warning: symbol 'reset_b3_res' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:3264:6: warning: symbol 'connect_b3_t90_a_res' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:3298:6: warning: symbol 'select_b_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:8692:6: warning: symbol 'sig_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:8792:6: warning: symbol 'send_data' was not declared. Should it be static?
      Signed-off-by: NHannes Eder <hannes@hanneseder.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      465e9850
  7. 16 12月, 2008 1 次提交
    • H
      isdn: eicon: fix sparse warning: make global functions static · 4ee59d54
      Hannes Eder 提交于
      Fix this sparse warnings by making the functions static:
      
        drivers/isdn/hardware/eicon/di.c:356:6: warning: symbol 'isdn_rc' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/di.c:558:6: warning: symbol 'isdn_ind' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:595:6: warning: symbol 'api_parse' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:634:6: warning: symbol 'api_save_msg' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:666:6: warning: symbol 'api_load_msg' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:3417:6: warning: symbol 'manufacturer_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:3745:6: warning: symbol 'manufacturer_res' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:4077:6: warning: symbol 'control_rc' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:4743:6: warning: symbol 'data_rc' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:4779:6: warning: symbol 'data_ack' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:4805:6: warning: symbol 'sig_ind' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:6173:6: warning: symbol 'SendInfo' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:6349:6: warning: symbol 'SendMultiIE' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:6468:6: warning: symbol 'nl_ind' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:7250:6: warning: symbol 'get_plci' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:7409:6: warning: symbol 'add_d' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:7427:6: warning: symbol 'add_ai' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:7448:6: warning: symbol 'add_b1' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:7912:6: warning: symbol 'add_b23' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:8709:6: warning: symbol 'nl_req_ncci' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:8731:6: warning: symbol 'send_req' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:8866:6: warning: symbol 'listen_check' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:8909:6: warning: symbol 'IndParse' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:8994:6: warning: symbol 'ie_compare' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:9003:6: warning: symbol 'find_cip' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:9071:6: warning: symbol 'SetVoiceChannel' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:9089:6: warning: symbol 'VoiceChannelOff' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:9102:6: warning: symbol 'AdvCodecSupport' was not declared. Should it be static?
        drivers/isdn/hardware/eicon/message.c:9198:6: warning: symbol 'CodecIdCheck' was not declared. Should it be static?
      Signed-off-by: NHannes Eder <hannes@hanneseder.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4ee59d54
  8. 28 4月, 2008 1 次提交
  9. 07 2月, 2008 1 次提交
  10. 03 2月, 2008 1 次提交
  11. 24 5月, 2007 1 次提交
    • A
      drivers/isdn/hardware/eicon/message.c warning fixes · d3c8bdfb
      Andrew Morton 提交于
      Squash these:
      
      drivers/isdn/hardware/eicon/message.c: In function 'api_put':
      drivers/isdn/hardware/eicon/message.c:536: warning: cast from pointer to integer of different size
      drivers/isdn/hardware/eicon/message.c: In function 'plci_free_msg_in_queue':
      drivers/isdn/hardware/eicon/message.c:1035: warning: cast to pointer from integer of different size
      drivers/isdn/hardware/eicon/message.c: In function 'data_b3_req':
      drivers/isdn/hardware/eicon/message.c:3121: warning: cast to pointer from integer of different size
      drivers/isdn/hardware/eicon/message.c:3154: warning: cast to pointer from integer of different size
      drivers/isdn/hardware/eicon/message.c: In function 'callback':
      drivers/isdn/hardware/eicon/message.c:4060: warning: cast to pointer from integer of different size
      drivers/isdn/hardware/eicon/message.c: In function 'nl_ind':
      drivers/isdn/hardware/eicon/message.c:7137: warning: cast from pointer to integer of different size
      
      Cc: Karsten Keil <kkeil@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d3c8bdfb
  12. 13 2月, 2007 2 次提交
  13. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4