Liability actions brought against a subcontractor due to damage affecting a work or items of equipment of a work mentioned in articles 1792 and 1792-2 are prescribed by ten years from acceptance of the work and, for damage affecting those items of equipment of the work mentioned in article 1792-3, by two years from that same acceptance.