Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7549560rwb; Wed, 23 Nov 2022 07:50:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf7G8oh1OuoXNHeF4rlVeEdPmQncZct2U9uBUAYPUMutJGsxhwofU12Xc2nid6j8kR/iKt8M X-Received: by 2002:a17:90a:5801:b0:218:90b5:d1f2 with SMTP id h1-20020a17090a580100b0021890b5d1f2mr23493576pji.142.1669218643303; Wed, 23 Nov 2022 07:50:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669218643; cv=none; d=google.com; s=arc-20160816; b=e2Gy141A5zlZbwS57gy2DdlV6FWVpyiukl4AOwYQ7chPh/qUUHJ+1IWS8AKMCYmEq8 WfK4nRsTYQ70yz82TowkDXAHgwWhWCGMEFrYhlPIvI3YNh8vXiDFgEms5nAincQ3gD0R x9vMDAkLjdlCwkw41HW3fVOZ/Apu/muICY4tywT5alP+BA/3TtJZ0KQX/Zedz9GlxBUc pSPYhuwTOk8BH+4zBcnHBYBSSHCYNl/5iWXyXirCprER+ItrWQfe3fUHenpSSpWRKLly /vlqbSGSXOTrdwuR8x8HY3+tJmKPdE0vD42WcKNG1cMO3zgsfduR9fTr6KkKSr0gJR6m PcGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TYA+sk34MTdokaTmO6Z2RqNJkrS7NKI/SfAHszvjo7s=; b=fn6OpGiufsp5XhVztRrE7hIREDfrJVdxod3v8Z0Fs4VMe9UusKeCsWeDMyH6wW7sn1 r7NHA32gEpH4jJk+eYSejGmbotIOnfGJIfzfIFHKvEsHV/nDWKqr6jICSTeadPUg9bjL sajVoXhXNXkipqv6HaaKxjDS+zxB55mpYVdVxyOXmR3nAfOCgkAfPDYdkBR5w2+SFe2N OQZCznGBezqW1TGvhmNFcSxfMjaWfM6ZpjlvhQbsy/gSUj47XvjB3BpqmWxCRq8rK/0s +p7Hc1sVTg6xgVufKYpv/EhcLUIRruTFGaGFunE01BGCnLZ9O2JIliXdFI41F2vTDAWS HegA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AyjUdBUP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17-20020a632351000000b00476759b878csi17803122pgm.328.2022.11.23.07.50.32; Wed, 23 Nov 2022 07:50:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AyjUdBUP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238342AbiKWPLP (ORCPT + 88 others); Wed, 23 Nov 2022 10:11:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238395AbiKWPLF (ORCPT ); Wed, 23 Nov 2022 10:11:05 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCBAB58BDF; Wed, 23 Nov 2022 07:11:04 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id t1so13266053wmi.4; Wed, 23 Nov 2022 07:11:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=TYA+sk34MTdokaTmO6Z2RqNJkrS7NKI/SfAHszvjo7s=; b=AyjUdBUPSwzq13H1UQf4yKXKkqb1P7vt21u9WG70IroGGxLOVENzduplbXXl99Ouag 032FFl96sV1zeiCn2unh6UIVmE1Fu2oX5C8F62/h0par3rHBTmzfXdiJ/aLTHdReIa2+ u6hUjnA4FU/prOhjLEilWfkRyvAY16QkUQiknyyLYd49nee21nQwzyps0WMnUlsdK1kR 3TbI+1Gccba+/tfKlJ39xX8c24nYJjzCxWAaUuV8ctVc68vQzbHaxqQrT+nw1qHqanxz vrEZSQrAmgxr6raSzrsnScnyCFR24c0Z6Cbi82BjJmaywGPikNKoXpSycIl7RCrCX8Rn f2PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=TYA+sk34MTdokaTmO6Z2RqNJkrS7NKI/SfAHszvjo7s=; b=2sApt12sdUMxPGgHL+gg7HK1nT4LsxDVb4C0p6emXx9Qk3Q4qmaqV4GamGzXC+AUno 95MTEbTHa/YUnGeqYAux81KVC1317me/o/A5r8gqgRCjj5O0haf5qagUTGwksCINcbFV v13VpJe3NpNHnqWU6HuSt7mgUL4nYDWy+Kj+oJlVpEA/cGzghQ/QFv2YxkzOREvcsVdg Et3z58jw5YMWE7F5D1Ud+UFhCwRS0ZUHqjCqEIGALmQcPozx7b7HOYQRE9rVocYojYN6 NmXFWj0EXNklsADwU7inXqishphyvy06vjj6pRt3FszGj65oswa+824z3Jebw7mVdR8/ X+8w== X-Gm-Message-State: ANoB5pnzYGo0aeWwWp3tCesyQxYXjaW9DNXCPsM5IVQDQgz8PKVcCxne oFNMlItITqtW9ELkE/0w0cVNHC+8VZN0oGhi X-Received: by 2002:a05:600c:3553:b0:3cf:8e62:f748 with SMTP id i19-20020a05600c355300b003cf8e62f748mr23315643wmq.175.1669216263117; Wed, 23 Nov 2022 07:11:03 -0800 (PST) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id u6-20020a05600c210600b003cfe1376f68sm2603785wml.9.2022.11.23.07.11.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 07:11:02 -0800 (PST) Date: Wed, 23 Nov 2022 18:10:57 +0300 From: Dan Carpenter To: Geert Uytterhoeven Cc: Tommaso Merciai , Geert Uytterhoeven , Mauro Carvalho Chehab , Greg Kroah-Hartman , Hans Verkuil , Laurent Pinchart , Andrzej Pietrasiewicz , Ricardo Ribalda , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH resend] media: staging: stkwebcam: Restore MEDIA_{USB,CAMERA}_SUPPORT dependencies Message-ID: References: <20221123100831.GE39395@tom-ThinkPad-T14s-Gen-2i> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 23, 2022 at 11:13:31AM +0100, Geert Uytterhoeven wrote: > Hi Tommaso, > > On Wed, Nov 23, 2022 at 11:08 AM Tommaso Merciai > wrote: > > On Mon, Nov 21, 2022 at 04:58:33PM +0100, Geert Uytterhoeven wrote: > > > By moving support for the USB Syntek DC1125 Camera to staging, the > > > dependencies on MEDIA_USB_SUPPORT and MEDIA_CAMERA_SUPPORT were lost. > > > > > > Fixes: 56280c64ecacc971 ("media: stkwebcam: deprecate driver, move to staging") > > > > Patch itself looks good but we have some style issue. Applying this > > patch I got the following warning from checkpatchl: > > > > WARNING: Please use correct Fixes: style 'Fixes: <12 chars of sha1> ("")' - ie: 'Fixes: 56280c64ecac ("media: stkwebcam: deprecate driver, move to staging")' > > #10: > > > > You have to pass only the first 12 chars of the sha1 commit into Fixes > > msg: > > > > Use: > > > > Fixes: 56280c64ecac ("media: stkwebcam: deprecate driver, move to staging") > > > > Instead of: > > > > Fixes: 56280c64ecacc971 ("media: stkwebcam: deprecate driver, move to staging") > > I always use 16 chars, to avoid these becoming ambiguous in a few years. > If we assume hashes are randomly distributed and that people commit 100k patches every year then with 12 character we would have 17 collisions every 1000 years. regards, dan carpenter