summaryrefslogtreecommitdiff
path: root/reference/C/EXAMPLES/extern2.c
blob: 78d3f3e7f17ee7eb39dd8adbd68ce1c61119f55a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/************************************************************************ 
 *
 * Purpose: Part two of a two part example showing the 
 *          extern keyword in action.
 *
 * Author:  M. J. Leslie
 *
 * Date:    24-Oct-95
 *
 ************************************************************************/

int count=5;

main()
{
  write_extern();
}

  
/td>2016-07-19 17:53:59 -0700 committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-07-19 17:56:35 -0700 commite4add7b6beaff4061693d0632bc1dcb306edba10 (patch) tree484f4090365286565522d0802237f345c86c9527 /Documentation/i2c parent6a5029e66404462a3322dba8e35615bd09332081 (diff)
Input: synaptics-rmi4 - fix maximum size check for F12 control register 8
According to the RMI4 spec the maximum size of F12 control register 8 is 15 bytes. The current code incorrectly reports an error if control 8 is greater then 14. Making sensors with a control register 8 with 15 bytes unusable. Signed-off-by: Andrew Duggan <aduggan@synaptics.com> Reported-by: Chris Healy <cphealy@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/i2c')