Re: [PATCH] first patch test

Bagas Sanjaya
2023-02-18T09:41:37Z

[-- Attachment #1: Type: text/plain, Size: 1567 bytes --]

On Sat, Feb 18, 2023 at 08:42:37AM +0530, Vishal Parmar wrote:
> Signed-off-by: Vishal Parmar <vishistriker@gmail.com>
> ---
> drivers/media/usb/uvc/uvc_driver.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
> index e4bcb5011360..c79dcee2213f 100644
> --- a/drivers/media/usb/uvc/uvc_driver.c
> +++ b/drivers/media/usb/uvc/uvc_driver.c
> @@ -2082,7 +2082,7 @@ static int uvc_probe(struct usb_interface *intf,
> (const struct uvc_device_info *)id->driver_info;
> int function;
> int ret;
> -
> + pr_info("I changed uvcvideo driver in the Linux Kernel\n");
> /* Allocate memory for the device and initialize it. */
> dev = kzalloc(sizeof(*dev), GFP_KERNEL);
> if (dev == NULL)

Hi and welcome to LKML!

As others has pointed, it seems like you had sent a patch which only
added noises to the ML. Also, I see that you send the similar change as
one in "Modifying a driver under the VM" section of kernelnewbies.org
[1].

If you'd like to submit patches, you can do so by contributing to
drivers/staging/ drivers first or documentation files at Documentation/.
It is not recommended to go outside of there until you've gained
experience and have several of your patches accepted and applied by
respective maintainers.

In any case, please read Documentation/process/submitting-patches.rst.

Thanks.

[1]: https://kernelnewbies.org/FirstKernelPatch

--
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]