Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1239231pxb; Sun, 22 Aug 2021 10:07:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz87jwV7GxmDmI5xoagM1RT2hIys7/m7Zeo8z/ydPdmaXqDaAvhV6DnXQoaWBqzXy17rffX X-Received: by 2002:a5d:85cf:: with SMTP id e15mr23508459ios.208.1629652066967; Sun, 22 Aug 2021 10:07:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629652066; cv=none; d=google.com; s=arc-20160816; b=bDVzuTj67eYBIPR5h9LqNyROJDpFoyVqtUmkjI+YtfiFd4r1WD8ER9sBIey/E9gnnx YNPifXiEx4yn9Al5t6gQMX+GppSBWUOQkBvbBCHmOItVMSEoA+AHLwnVg1UReOveUK93 BH5Y5OBx0DJI/gjr46GcsZyS+yVbcweLYJZy784F7Hs8oleo01CPqMB2tidPZlvCSik3 pjJVRzacehjEn0BGzgnWKe32DJS7bvap2M1HbE2xr+ulSpElLrRUTxnCJpkY+G0AMz0b xcvUydt5pFQ4zBuFI9Jlvv4RQqjckn2crfAkiJWho+As3++teEd8tIsPoe1ahlXqStDo 9pvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=7AcYwvzGe9M3lMB0/KnzQM8qFWg+4UTjwoeuKlwcPA0=; b=jl/+ur+zHnF6wiCZoqku9SFxjg+xQdG4oiZaod81vy9/51G0UokkQuD8uWz2vQEIwa yrTnvfewRGqBDzW2BKg4M2WJTKc5OX5RIh0Bg40Eg1lKz6vrtrDahcvTAwb9zUVVaIIA Gi0vwkKcWMY9RqG3tgfNjNrdGqBaNmwqnoWemcFz8LVUqUTiD3hDr5u5ETU0/7ouvv1h uvH+C03L+1oZb9Whdo2is9RmZ93QcOcXt2a5Ywq5thmv58VG7YNckwh18DmJhj+B/rD4 9+vM//MYm1AqTl2A2GRkVWwCmkBuXWl98+DELuW0nDhtP3/jEO4ol5Q7xg2WoXTlobPX k3Jg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o1si11537263ill.7.2021.08.22.10.07.34; Sun, 22 Aug 2021 10:07:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231520AbhHVRFX (ORCPT + 99 others); Sun, 22 Aug 2021 13:05:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231393AbhHVRFW (ORCPT ); Sun, 22 Aug 2021 13:05:22 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EEF9C061575 for ; Sun, 22 Aug 2021 10:04:41 -0700 (PDT) Received: from martin by viti.kaiser.cx with local (Exim 4.89) (envelope-from ) id 1mHqtf-0008Kr-7j; Sun, 22 Aug 2021 19:04:35 +0200 Date: Sun, 22 Aug 2021 19:04:35 +0200 From: Martin Kaiser To: Phillip Potter Cc: Greg Kroah-Hartman , Larry Finger , Dan Carpenter , Michael Straube , linux-staging@lists.linux.dev, Linux Kernel Mailing List Subject: Re: [PATCH 01/10] staging: r8188eu: remove unnecessary cast Message-ID: <20210822170435.ijsi7ep7rbdu4i3k@viti.kaiser.cx> References: <20210821164859.4351-1-martin@kaiser.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: Martin Kaiser Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thus wrote Phillip Potter (phil@philpotter.co.uk): > On Sat, 21 Aug 2021 at 17:49, Martin Kaiser wrote: > > name is a const char * by default. This type should be ok for r8188eu. > > Signed-off-by: Martin Kaiser > > --- > > drivers/staging/r8188eu/os_dep/usb_intf.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/r8188eu/os_dep/usb_intf.c b/drivers/staging/r8188eu/os_dep/usb_intf.c > > index e002070f7fba..72556ac10d7d 100644 > > --- a/drivers/staging/r8188eu/os_dep/usb_intf.c > > +++ b/drivers/staging/r8188eu/os_dep/usb_intf.c > > @@ -61,7 +61,7 @@ struct rtw_usb_drv { > > }; > > static struct rtw_usb_drv rtl8188e_usb_drv = { > > - .usbdrv.name = (char *)"r8188eu", > > + .usbdrv.name = "r8188eu", > > .usbdrv.probe = rtw_drv_init, > > .usbdrv.disconnect = rtw_dev_remove, > > .usbdrv.id_table = rtw_usb_id_tbl, > > -- > > 2.20.1 Hi Phil, > Looks ok to me, thanks. I would consider using a cover letter style > [PATCH 00/10] style approach as an addition in future though, just my > personal opinion. > Acked-by: Phillip Potter Thanks. This series is a mixed bag of things I found while poking around in the code. So I didn't think there was anything useful to say in a cover letter. Still, I see your point, it makes sense for a patch series to have a cover letter, I'll add one for future patch series. Best regards, Martin