[hid:for-4.17/multitouch 1/3] drivers/hid/hid-multitouch.c:332:4: error: 'MT_QUIRK_WIN8_PTP_BUTTONS' undeclared here (not in a function); did you mean 'MT_QUIRK_IGNORE_DUPLICATES'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-4.17/multitouch
head:   1816c671e130e35707320987b1385387b4fc3085
commit: 2bd739551fa216c637c81e10a5d0bb39b5d0d707 [1/3] HID: multitouch: remove dead zones of Razer Blade Stealth
config: i386-randconfig-x014-201811 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 2bd739551fa216c637c81e10a5d0bb39b5d0d707
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the hid/for-4.17/multitouch HEAD 1816c671e130e35707320987b1385387b4fc3085 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> drivers/hid/hid-multitouch.c:332:4: error: 'MT_QUIRK_WIN8_PTP_BUTTONS' undeclared here (not in a function); did you mean 'MT_QUIRK_IGNORE_DUPLICATES'?
       MT_QUIRK_WIN8_PTP_BUTTONS,
       ^~~~~~~~~~~~~~~~~~~~~~~~~
       MT_QUIRK_IGNORE_DUPLICATES

vim +332 drivers/hid/hid-multitouch.c

   212	
   213	static struct mt_class mt_classes[] = {
   214		{ .name = MT_CLS_DEFAULT,
   215			.quirks = MT_QUIRK_ALWAYS_VALID |
   216				MT_QUIRK_CONTACT_CNT_ACCURATE },
   217		{ .name = MT_CLS_NSMU,
   218			.quirks = MT_QUIRK_NOT_SEEN_MEANS_UP },
   219		{ .name = MT_CLS_SERIAL,
   220			.quirks = MT_QUIRK_ALWAYS_VALID},
   221		{ .name = MT_CLS_CONFIDENCE,
   222			.quirks = MT_QUIRK_VALID_IS_CONFIDENCE },
   223		{ .name = MT_CLS_CONFIDENCE_CONTACT_ID,
   224			.quirks = MT_QUIRK_VALID_IS_CONFIDENCE |
   225				MT_QUIRK_SLOT_IS_CONTACTID },
   226		{ .name = MT_CLS_CONFIDENCE_MINUS_ONE,
   227			.quirks = MT_QUIRK_VALID_IS_CONFIDENCE |
   228				MT_QUIRK_SLOT_IS_CONTACTID_MINUS_ONE },
   229		{ .name = MT_CLS_DUAL_INRANGE_CONTACTID,
   230			.quirks = MT_QUIRK_VALID_IS_INRANGE |
   231				MT_QUIRK_SLOT_IS_CONTACTID,
   232			.maxcontacts = 2 },
   233		{ .name = MT_CLS_DUAL_INRANGE_CONTACTNUMBER,
   234			.quirks = MT_QUIRK_VALID_IS_INRANGE |
   235				MT_QUIRK_SLOT_IS_CONTACTNUMBER,
   236			.maxcontacts = 2 },
   237		{ .name = MT_CLS_INRANGE_CONTACTNUMBER,
   238			.quirks = MT_QUIRK_VALID_IS_INRANGE |
   239				MT_QUIRK_SLOT_IS_CONTACTNUMBER },
   240		{ .name = MT_CLS_WIN_8,
   241			.quirks = MT_QUIRK_ALWAYS_VALID |
   242				MT_QUIRK_IGNORE_DUPLICATES |
   243				MT_QUIRK_HOVERING |
   244				MT_QUIRK_CONTACT_CNT_ACCURATE |
   245				MT_QUIRK_STICKY_FINGERS },
   246		{ .name = MT_CLS_EXPORT_ALL_INPUTS,
   247			.quirks = MT_QUIRK_ALWAYS_VALID |
   248				MT_QUIRK_CONTACT_CNT_ACCURATE,
   249			.export_all_inputs = true },
   250		{ .name = MT_CLS_WIN_8_DUAL,
   251			.quirks = MT_QUIRK_ALWAYS_VALID |
   252				MT_QUIRK_IGNORE_DUPLICATES |
   253				MT_QUIRK_HOVERING |
   254				MT_QUIRK_CONTACT_CNT_ACCURATE,
   255			.export_all_inputs = true },
   256	
   257		/*
   258		 * vendor specific classes
   259		 */
   260		{ .name = MT_CLS_3M,
   261			.quirks = MT_QUIRK_VALID_IS_CONFIDENCE |
   262				MT_QUIRK_SLOT_IS_CONTACTID |
   263				MT_QUIRK_TOUCH_SIZE_SCALING,
   264			.sn_move = 2048,
   265			.sn_width = 128,
   266			.sn_height = 128,
   267			.maxcontacts = 60,
   268		},
   269		{ .name = MT_CLS_EGALAX,
   270			.quirks =  MT_QUIRK_SLOT_IS_CONTACTID |
   271				MT_QUIRK_VALID_IS_INRANGE,
   272			.sn_move = 4096,
   273			.sn_pressure = 32,
   274		},
   275		{ .name = MT_CLS_EGALAX_SERIAL,
   276			.quirks =  MT_QUIRK_SLOT_IS_CONTACTID |
   277				MT_QUIRK_ALWAYS_VALID,
   278			.sn_move = 4096,
   279			.sn_pressure = 32,
   280		},
   281		{ .name = MT_CLS_TOPSEED,
   282			.quirks = MT_QUIRK_ALWAYS_VALID,
   283			.is_indirect = true,
   284			.maxcontacts = 2,
   285		},
   286		{ .name = MT_CLS_PANASONIC,
   287			.quirks = MT_QUIRK_NOT_SEEN_MEANS_UP,
   288			.maxcontacts = 4 },
   289		{ .name	= MT_CLS_GENERALTOUCH_TWOFINGERS,
   290			.quirks	= MT_QUIRK_NOT_SEEN_MEANS_UP |
   291				MT_QUIRK_VALID_IS_INRANGE |
   292				MT_QUIRK_SLOT_IS_CONTACTID,
   293			.maxcontacts = 2
   294		},
   295		{ .name	= MT_CLS_GENERALTOUCH_PWT_TENFINGERS,
   296			.quirks	= MT_QUIRK_NOT_SEEN_MEANS_UP |
   297				MT_QUIRK_SLOT_IS_CONTACTID
   298		},
   299	
   300		{ .name = MT_CLS_FLATFROG,
   301			.quirks = MT_QUIRK_NOT_SEEN_MEANS_UP |
   302				MT_QUIRK_NO_AREA,
   303			.sn_move = 2048,
   304			.maxcontacts = 40,
   305		},
   306		{ .name = MT_CLS_LG,
   307			.quirks = MT_QUIRK_ALWAYS_VALID |
   308				MT_QUIRK_FIX_CONST_CONTACT_ID |
   309				MT_QUIRK_IGNORE_DUPLICATES |
   310				MT_QUIRK_HOVERING |
   311				MT_QUIRK_CONTACT_CNT_ACCURATE },
   312		{ .name = MT_CLS_ASUS,
   313			.quirks = MT_QUIRK_ALWAYS_VALID |
   314				MT_QUIRK_CONTACT_CNT_ACCURATE |
   315				MT_QUIRK_ASUS_CUSTOM_UP },
   316		{ .name = MT_CLS_VTL,
   317			.quirks = MT_QUIRK_ALWAYS_VALID |
   318				MT_QUIRK_CONTACT_CNT_ACCURATE |
   319				MT_QUIRK_FORCE_GET_FEATURE,
   320		},
   321		{ .name = MT_CLS_GOOGLE,
   322			.quirks = MT_QUIRK_ALWAYS_VALID |
   323				MT_QUIRK_CONTACT_CNT_ACCURATE |
   324				MT_QUIRK_SLOT_IS_CONTACTID |
   325				MT_QUIRK_HOVERING
   326		},
   327		{ .name = MT_CLS_RAZER_BLADE_STEALTH,
   328			.quirks = MT_QUIRK_ALWAYS_VALID |
   329				MT_QUIRK_IGNORE_DUPLICATES |
   330				MT_QUIRK_HOVERING |
   331				MT_QUIRK_CONTACT_CNT_ACCURATE |
 > 332				MT_QUIRK_WIN8_PTP_BUTTONS,
   333		},
   334		{ }
   335	};
   336	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux