Re: [PATCH] scsi: a100u2w: remove useless variable

2021-04-16 Thread Julian Calaby
nia100_probe_one(struct pci_dev *pdev, > > biosaddr = host->BIOScfg; > biosaddr = (biosaddr << 4); > - bios_phys = phys_to_virt(biosaddr); > + phys_to_virt(biosaddr); Does phys_to_virt() have side effects? If it doesn't, there's a lot mo

Re: [PATCH] drivers: scsi: Describe and replace a word with better one in the file qlogicpti.h

2021-02-05 Thread Julian Calaby
fucking pedantic or what? */ > +/* Am I awful pedantic or what? */ You're right that this needs to go, but "awfully" is a better replacement than "awful". However it's likely that the entire comment can either be removed or replaced with something more descriptive.

Re: [PATCH] b43: Remove redundant code

2021-01-28 Thread Julian Calaby
l a lot of places, like this, where placeholder comments were written until the actual code that would have been here was ready / reverse engineered. That said, I believe the driver works well enough for all it's users and has not seen any significant changes in a long time. Thanks, -- Julian Ca

Re: [RFC PATCH 00/37] block: introduce bio_init_fields()

2021-01-20 Thread Julian Calaby
ere. It looks, from the diffstat, that you've effectively reduced 2 lines into 1. That isn't much of a saving. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] drivers: rtlwifi: rtl8723ae: Fix word association in trx.c

2021-01-05 Thread Julian Calaby
s sense than "defaultly". This comment needs to be re-written by someone who knows what's going on here. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] drivers: realtek: rtl8723be: Correct word presentation as defautly to de-faulty

2021-01-05 Thread Julian Calaby
e own may not Same comments here as the previous patches: "de-faultly" makes less sense than "defaultly". This comment needs to be re-written by someone who knows what's going on here. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] drivers: rtlwifi: rtl8821ae: defautly to de-faulty ,last in the series

2021-01-05 Thread Julian Calaby
es: "de-faultly" makes less sense than "defaultly". This comment needs to be re-written by someone who knows what's going on here. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] drivers: net: wireless: realtek: Fix the word association defautly de-faulty

2021-01-05 Thread Julian Calaby
Hi Bhaskar, On Tue, Jan 5, 2021 at 9:48 PM Bhaskar Chowdhury wrote: > > On 21:33 Tue 05 Jan 2021, Julian Calaby wrote: > >Hi Bhaskar, > > > >On Tue, Jan 5, 2021 at 9:19 PM Bhaskar Chowdhury > >wrote: > >> > >> s/defautly/de-faulty/p

Re: [PATCH] drivers: wireless: rtlwifi: rtl8192ce: Fix construction of word rtl8192ce/trx.c

2021-01-05 Thread Julian Calaby
n may not Same comments here as the previous patch: "de-faultly" makes less sense than "defaultly". This comment needs to be re-written by someone who knows what's going on here. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] drivers: net: wireless: realtek: Fix the word association defautly de-faulty

2021-01-05 Thread Julian Calaby
+*descriptor de-faulty,and the own may not Really? "de-faultly" isn't any better than "defaultly" and in fact it's even worse as it breaks up the word "default". This change doesn't make sense and the comment really needs to be completely re-written

Re: [RFC PATCH 0/13] sparc32: sunset sun4m and sun4d

2020-12-20 Thread Julian Calaby
Hi Romain, On Sun, Dec 20, 2020 at 8:26 PM Romain Dolbeau wrote: > > Le dim. 20 déc. 2020 à 09:54, Julian Calaby a écrit > : > > If I want to run them, assuming the hardware still works, I need to > > netboot them as I cannot find working, compatible HDDs for them

Re: [RFC PATCH 0/13] sparc32: sunset sun4m and sun4d

2020-12-20 Thread Julian Calaby
distros that support it, and the kernel code has probably bitrotted due to lack of testing. As much as it pains me to say this, I think this code's time has come and it's time to get rid of it. If there were more people using it or more testing, or more distros supporting it -

Re: [PATCH 1/1] mwifiex: Fix possible buffer overflows in mwifiex_config_scan

2020-12-08 Thread Julian Calaby
;user_scan_in->ssid_list[i].ssid, ssid_len); Can ssid_len ever be 0 here? If it can't, should we just set ssid_len to 1 unconditionally? If it can, should we just skip the memcpy as it won't do anything? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH v2] ath10k: sdio: remove redundant check in for loop

2020-09-16 Thread Julian Calaby
check section size - from line 2315 skip_size = cur_section->start - prev_end; // check buffer size - from line 2339 - needs to account for the skip size too. // fill in the skip size amount - from line 2358 and 2304 // ath10k_sdio_read_mem - from line 2346 prev_end =

Re: [PATCH][next] ath11k: Use fallthrough pseudo-keyword

2020-07-27 Thread Julian Calaby
ing_num >= 3" comment is needed, how should this get formatted? Maybe something like: fallthrough; /* when ring_num >= 3 */ Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] sparc: sparc64_defconfig: add necessary configs for qemu

2020-07-02 Thread Julian Calaby
arc64_defconfig > +++ b/arch/sparc/configs/sparc64_defconfig > @@ -236,3 +236,6 @@ CONFIG_CRYPTO_TWOFISH=m > CONFIG_CRC16=m > CONFIG_LIBCRC32C=m > CONFIG_VCC=m > +CONFIG_ATA=y > +CONFIG_PATA_CMD64X=y > +CONFIG_PCNET32=y FWIW the CMD640 is the IDE controller used on the U

Re: [PATCH] Revert "ath: add support for special 0x0 regulatory domain"

2020-05-28 Thread Julian Calaby
ed in firmware anyway: Should we tell the user their firmware needs to be upgraded if it reports this regulatory domain instead of completely dropping support for it? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH v3] lsilogic mpt fusion: mptctl: Fixed race condition around mptctl_id variable using mutexes

2019-08-18 Thread Julian Calaby
ash almost immediately. Also, it might be worthwhile creating accessor functions for the mptctl variables or using atomics, that way the locking doesn't need to be right every time they're used. Finally, what's the exact race condition here? Are the functions you reference changing the values of the mptctl variables while other code is using them? These functions appear to be setup functions, so why are those variables being used before the device is fully set up? Single usages of those variables shouldn't be subject to race conditions, so you shouldn't need mutexes around those. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [PATCH 2/8] regulator: axp20x: add support for set_ramp_delay for AXP209

2018-12-11 Thread Julian Calaby
t;= slew_rates[i]) > + cfg = AXP20X_DCDC2_LDO3_V_RAMP_LDO3_RATE(i); > + else > + break; > + } > + > + if (cfg == 0xff) { > + dev_err(axp20x->d

Re: [linux-sunxi] [PATCH 10/15] drm/sun4i: Add support for R40 TV TCONs

2018-05-19 Thread Julian Calaby
Hi Jernej, On Sun, May 20, 2018 at 11:57 AM, Julian Calaby wrote: > Hi Jernej, > > On Sun, May 20, 2018 at 4:31 AM, Jernej Skrabec > wrote: >> R40 display pipeline has a lot of possible configurations. HDMI can be >> connected to 2 different TCONs (out of 4) and mi

Re: [linux-sunxi] [PATCH 10/15] drm/sun4i: Add support for R40 TV TCONs

2018-05-19 Thread Julian Calaby
_tcon *tcon, > + const struct drm_encoder *encoder) > +{ > + return sun8i_r40_tcon_tv_set_mux(tcon, encoder, 1); > +} Are TCON-TOPs going to be a common thing in new SoCs from Allwinner? If so, maybe we should add an index to the TCO

Re: [linux-sunxi] [PATCH 07/15] dt-bindings: display: sun4i-drm: Add R40 HDMI pipeline

2018-05-19 Thread Julian Calaby
- pll-0: parent of phy clock > + - pll-1: second possible phy clock parent (A64 only) Maybe split this into two: H3 HDMI PHY ... - pll-0: ... A64 HDMI PHY ... - pll-0: ... - pll-1: ... At the moment a quick reading implies that H3 needs pll-1. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [PATCH v2 1/6] ASoC: sun4i-i2s: Add slot width override

2018-03-13 Thread Julian Calaby
xtend the slot width to the > + value specified. Min 8, Max 32. > + This sounds like something that would be useful for other I2S controllers. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [PATCH 14/15] ARM: dts: sun8i: h3: Enable HDMI output on H3 boards

2018-02-27 Thread Julian Calaby
Hi Maxime, On Tue, Feb 27, 2018 at 6:07 PM, Maxime Ripard wrote: > On Tue, Feb 27, 2018 at 01:29:27PM +1100, Julian Calaby wrote: >> Hi Jernej, >> >> On Tue, Feb 27, 2018 at 3:27 AM, Jernej Škrabec >> wrote: >> > Hi, >> > >> > Dne ponedel

Re: [linux-sunxi] [PATCH 14/15] ARM: dts: sun8i: h3: Enable HDMI output on H3 boards

2018-02-26 Thread Julian Calaby
ut >> > >> >4k. >> > >> >> If this code is compatible with the H2+, could you please add the >> >> necessary bits and pieces to the h2-plus DTSs too? >> > >> >There are only 3 H2+ boards in kernel and none of them has HDMI >> >connector, so >> >> BPi M2 Zero has miniHDMI connector. > > Ah, sorry, I missed that one. Since I don't have it (or any other board with > H2+) I'm not really comfortable including such patch. If anyone will test it, > I can include it in next revision. I have one of those (this is why I'm interested in this patchset) so I'm willing to test, however I can't guarantee I'll get to it quickly. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [PATCH 14/15] ARM: dts: sun8i: h3: Enable HDMI output on H3 boards

2018-02-25 Thread Julian Calaby
Hi Icenowy, On Sun, Feb 25, 2018 at 7:43 PM, Icenowy Zheng wrote: > > > 于 2018年2月25日 GMT+08:00 下午4:11:34, Julian Calaby 写到: >>Hi Jernej, >> >>On Sun, Feb 25, 2018 at 8:45 AM, Jernej Skrabec >> wrote: >>> Enable HDMI output on all boards which have HDM

Re: [linux-sunxi] [PATCH 14/15] ARM: dts: sun8i: h3: Enable HDMI output on H3 boards

2018-02-25 Thread Julian Calaby
+ > 8 files changed, 199 insertions(+) As I understand it, the H2+ is just a slightly trimmed down H3. In terms of HDMI support, the difference is that the H2+ can't output 4k. If this code is compatible with the H2+, could you please add the necessary bits and pieces to the

Re: [linux-sunxi] [PATCH v3] rtc: ac100: Fix ac100 determine rate bug

2018-02-15 Thread Julian Calaby
* properly declare and reference in the devicetree and is > +* not implemented in any driver right now. > +* If the clock core looks for the parent of that second > +* missing clock, it can't one that is registered and You've missed the word "find" between "it can't" and "one that is registered". Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [PATCH 1/3] net: stmmac: dwmac-sun8i: drop V3s compatible and add V3 one

2018-02-02 Thread Julian Calaby
s variant around for compatibility with existing device trees? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [RFC PATCH 2/9] ARM: sunxi: add Allwinner ARMv5 SoCs

2018-01-19 Thread Julian Calaby
Hi Icenowy, On Sat, Jan 20, 2018 at 2:10 PM, Icenowy Zheng wrote: > > > 于 2018年1月20日 GMT+08:00 上午11:06:40, Julian Calaby 写到: >>Hi Icenowy, >> >>On Sat, Jan 20, 2018 at 10:17 AM, Icenowy Zheng >>wrote: >>> Add option for Allwinner ARMv5 SoCs and a SoC

Re: [linux-sunxi] [RFC PATCH 2/9] ARM: sunxi: add Allwinner ARMv5 SoCs

2018-01-19 Thread Julian Calaby
bool "Allwinner SoCs" That name seems a little too generic. Maybe "Allwinner ARMv5 SoCs"? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [RFC PATCH 1/9] ARM: add CONFIG_ARCH_SUNXI_V7 for differentiate ARMv5/v7 Allwinner SoCs

2018-01-19 Thread Julian Calaby
; + select PINCTRL > + select RESET_CONTROLLER > + > +menuconfig ARCH_SUNXI_V7 > bool "Allwinner SoCs" > depends on ARCH_MULTI_V7 > + select ARCH_SUNXI > select ARCH_HAS_RESET_CONTROLLER > select CLKSRC_MMIO >

Re: [linux-sunxi] [PATCH v2 13/16] power: supply: axp20x_battery: add support for AXP813

2018-01-09 Thread Julian Calaby
(2 << 5) > #define AXP20X_CHRG_CTRL1_TGT_4_36V(3 << 5) > > +#define AXP813_CHRG_CTRL1_TGT_4_35V(3 << 5) > + > #define AXP22X_CHRG_CTRL1_TGT_4_22V(1 << 5) > #define AXP22X_CHRG_CTRL1_TGT_4_24V(3 << 5) Should these be "a

Re: [PATCH 16/67] powerpc: rename dma_direct_ to dma_nommu_

2018-01-03 Thread Julian Calaby
evice can DMA to RAM address 0x0 using address >> 0x800. >> >> Identity would imply 0 == 0 etc. >> >> I think "bijective" is the correct term, but that's probably a bit >> esoteric. > > OK, didn't know about the offset. > Then "linear" is what we tend to use, right? If this is indeed a linear mapping, can we just remove this and replace it with the new "generic" mapping being introduced by this patchset? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH 17/67] microblaze: rename dma_direct to dma_microblaze

2017-12-29 Thread Julian Calaby
Hi Christoph, On Fri, Dec 29, 2017 at 7:18 PM, Christoph Hellwig wrote: > This frees the dma_direct_* namespace for a generic implementation. Don't you mean "dma_nommu" not "dma_microblaze" in the subject line? Thanks, -- Julian Calaby Email: julian.ca

Re: [linux-sunxi] [PATCH 11/17] drm/sun4i: Wire in DE2 scaler support

2017-11-29 Thread Julian Calaby
& BIT(layer->id)) { min_scale = 1; max_scale = (1UL << 20) - 1; } However the compiler will probably sort it all out anyway, so it probably doesn't matter that much, except for style. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH 5/5] wlcore: Use common error handling code in wl1271_op_suspend()

2017-10-30 Thread Julian Calaby
ning("couldn't prepare device to suspend"); "couldn't enable power saving"? > - return ret; > - } > + if (ret < 0) > + goto report_preparation_failure; > > /* flush any remaining work */ > wl1271_debug(DEBUG_MAC80211, "flushing remaining works"); Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH 4/5] wlcore: Use common error handling code in wlcore_set_beacon_template()

2017-10-30 Thread Julian Calaby
using the Coccinelle software. > > Signed-off-by: Markus Elfring Reviewed-by: Julian Calaby However, > --- > drivers/net/wireless/ti/wlcore/main.c | 18 +++--- > 1 file changed, 7 insertions(+), 11 deletions(-) > > diff --git a/drivers/net/wireless/ti/wlcore/

Re: [PATCH 3/5] wlcore: Return directly after a failed ieee80211_beacon_get() in wlcore_set_beacon_template()

2017-10-30 Thread Julian Calaby
On Mon, Oct 30, 2017 at 7:13 AM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 29 Oct 2017 20:00:41 +0100 > > Return directly after a call of the function "ieee80211_beacon_get" > failed at the beginning. > > Signed-off-by: Markus Elfring Revi

Re: [PATCH 1/5] wlcore: Use common error handling code in wlcore_nvs_cb()

2017-10-30 Thread Julian Calaby
gt; complete_all(&wl->nvs_loading_complete); > + return; > + > +power_off: Name this "out_power_off" to match the other labels. > + wl1271_power_off(wl); > + goto out_free_nvs; Why not put this in front of the out_free_nvs label? It looks w

Re: [PATCH 2/5] wlcore: Delete an unnecessary check statement in wlcore_set_beacon_template()

2017-10-30 Thread Julian Calaby
e such unnecessary source code at the end of this function. > > Signed-off-by: Markus Elfring Looks good to me. Reviewed-by: Julian Calaby -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [PATCH v4 02/11] drm/sun4i: tcon: Add support for demuxing TCON output on A31

2017-10-11 Thread Julian Calaby
Hi Chen-Yu, On Tue, Oct 10, 2017 at 2:19 PM, Chen-Yu Tsai wrote: > On systems with 2 TCONs such as the A31, it is possible to demux the > output of the TCONs to one encoder. > > Add support for this for the A31. > > Signed-off-by: Chen-Yu Tsai Thanks! FWIW this is: Reviewed

Re: [linux-sunxi] Re: [PATCH v3 04/14] drm/sun4i: tcon: Add support for demuxing TCON output on A31

2017-09-29 Thread Julian Calaby
Hi Chen-Yu, On Sat, Sep 30, 2017 at 3:58 PM, Chen-Yu Tsai wrote: > On Sat, Sep 30, 2017 at 1:35 PM, Julian Calaby > wrote: >> Hi Chen-Yu, >> >> On Fri, Sep 29, 2017 at 8:22 PM, Chen-Yu Tsai wrote: >>> On Fri, Sep 29, 2017 at 6:20 PM, Maxime Ripard >>&g

Re: [linux-sunxi] Re: [PATCH v3 04/14] drm/sun4i: tcon: Add support for demuxing TCON output on A31

2017-09-29 Thread Julian Calaby
ed between > the two TCONs. So there's no particular reason to look for TCON1 explicitly. In that case: in the bizarre case where we're trying to use this mux type and there is no TCON0, shouldn't we fail? (Also, the code doesn't make sense if we have some TCON1 and TCON2 in that order as it'll return TCON2) Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [PATCH 3/4] arm64: allwinner: h5: add compatible string for DE2 CCU

2017-09-16 Thread Julian Calaby
n50i-h5-de2-clk"; > +}; > + This is what I get for reviewing before reading the full patch set. Shouldn't this be rolled into the previous patch? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [PATCH 2/4] ARM: sun8i: h3/h5: add DE2 CCU device node for H3

2017-09-16 Thread Julian Calaby
ranges; > > + display_clocks: clock@100 { > + /* compatible is in per SoC .dtsi file */ I don't know device tree very well, but shouldn't this node be disabled so that it doesn't do anything weird on H5? Or are nodes without compatibles ign

Re: [v6] wlcore: add missing nvs file name info for wilink8

2017-08-10 Thread Julian Calaby
y at least this one does not have any valid hardware >> mac address, the hardware mac address is broken with all zeroes. >> > > Looks like it is not really all zeros but rather 00:00:00:00:00:01. > I wonder if it is just a one board issue or not... It's 00:00:00:00:00:0

Re: [v4] wlcore: add missing nvs file name info for wilink8

2017-08-04 Thread Julian Calaby
"Please use the calibrator tool to configure " > + "your device.\n" > + "When using a wl18xx device the nvs file can " > + "be removed as a default mac address i

Re: [PATCH] sparc64: Fix gup_huge_pmd

2017-06-22 Thread Julian Calaby
Hi Nitin, On Fri, Jun 23, 2017 at 12:37 AM, Nitin Gupta wrote: > Hi Julian, > > > On 6/22/17 3:53 AM, Julian Calaby wrote: >> >> On Thu, Jun 22, 2017 at 7:50 AM, Nitin Gupta >> wrote: >>> >>> The function assumes that each PMD points to head of a

Re: [PATCH] sparc64: Fix gup_huge_pmd

2017-06-22 Thread Julian Calaby
_head(head); Stupid question: shouldn't this go before the page calculation? > do { > VM_BUG_ON(compound_head(page) != head); > pages[*nr] = page; Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH 28/44] sparc: remove arch specific dma_supported implementations

2017-06-08 Thread Julian Calaby
_sync_sg_for_cpu, > .sync_sg_for_device = sbus_sync_sg_for_device, > + .dma_supported = sbus_dma_supported, > }; > > static int __init sparc_register_ioport(void) Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [PATCH 5/15] clk: sunxi-ng: sun5i: Export video PLLs

2017-03-07 Thread Julian Calaby
for HDMI */ PLL_VIDEO*1*_2X, right? > /* The CPU clock is exported */ > > #define CLK_AXI18 Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH 3/3] Staging:wilc1000:host_interface: Integrated two 'if' statements to a single 'if' statement

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 2:38 AM, Georgios Emmanouil wrote: > Removed unnecessary 'if' statement and integrated the condition to the > previous 'if' statement. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/

Re: [PATCH 2/3] Staging:wilc1000:host_interface: Fixed alignment to match open parenthesis

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 2:37 AM, Georgios Emmanouil wrote: > Fixed alignment to match open parenthesis. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/host_interface.c | 2 +- > 1 file changed, 1 insert

Re: [PATCH 1/3] Staging:wilc1000:host_interface: Removed unnecessary blank line

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 2:35 AM, Georgios Emmanouil wrote: > Removed unnecessary blank line. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/host_interface.c | 1 - > 1 file changed, 1 deletion(-) > > diff

Re: [PATCH] Staging:wilc1000:wilc_sdio: Modified comment style to preferred kernel comment style

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 3:41 AM, Georgios Emmanouil wrote: > Modified comment style to preferred kernel comment style. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/wilc_sdio.c | 13 + > 1 file cha

Re: [PATCH] Staging:wilc1000:linux_wlan: Modified the 'if-else' statement

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 3:14 AM, Georgios Emmanouil wrote: > Modified the 'if-else' statement to make it more readable. > > Signed-off-by: Georgios Emmanouil Again, I'm dubious if this is needed or helpful, but Reviewed-by: Julian Calaby > --- > drivers

Re: [PATCH 4/4] Staging:wilc1000:wilc_spi: Added blank line after function and modified comment style

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 4:07 AM, Georgios Emmanouil wrote: > Added blank line after function and modified comment style. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/wilc_spi.c | 7 ++- > 1 file changed,

Re: [PATCH 3/4] Staging:wilc1000:wilc_spi: Fixed spelling error

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 4:06 AM, Georgios Emmanouil wrote: > Fixed spelling error. 'unkmown' to 'unknown'. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/wilc_spi.c | 8 > 1 file

Re: [PATCH 2/4] Staging:wilc1000:wilc_spi: Fixed alignment to match parenthesis

2017-03-04 Thread Julian Calaby
Hi All, On Fri, Mar 3, 2017 at 4:05 AM, Georgios Emmanouil wrote: > Fixed alignment to match parenthesis. > > Signed-off-by: Georgios Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/wilc_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH 1/4] Staging:wilc1000:wilc_spi: Fixed comment style to the preferred kernel comment style

2017-03-04 Thread Julian Calaby
s Emmanouil Reviewed-by: Julian Calaby > --- > drivers/staging/wilc1000/wilc_spi.c | 14 ++ > 1 file changed, 6 insertions(+), 8 deletions(-) -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] Re: [PATCH 1/2] nvmem: sunxi-sid: add support for H3 and A64's SID controller

2017-01-27 Thread Julian Calaby
lloc(sizeof(u8) * (size), GFP_KERNEL); >> + randomness_size = max(size, SUNXI_SID_MAX_RANDOMNESS_SIZE); >> + randomness = kzalloc(sizeof(u8) * (randomness_size), GFP_KERNEL); > > Why is that change needed? According to the definition of SUNXI_SID_MAX_RANDOMNESS_SIZE, only the first 16 bytes of the SID data region are sufficiently non-zero to be used for randomness. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] ssb: main.c: This patch removes unnecessary return statement using spatch tool

2017-01-06 Thread Julian Calaby
; - return size; > + return (1 << (size + 1)); Is the size variable used elsewhere? If not, it's declaration should probably be removed. Also, there should be a blank line before the return statement. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] sbus: char: Move D7S_MINOR to include/linux/miscdevice.h

2016-12-16 Thread Julian Calaby
going to say "why not change the name to something more descriptive" however they're all very abbreviated, so maybe consider a second patch series to describe what each of these is for? > #define VFIO_MINOR 196 > #define TUN_MINOR 200 > #define CUSE_MINOR 203 Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] mwifiex: fix null pointer deference when adapter is null

2016-09-15 Thread Julian Calaby
null > pointer deference when accessing adapter->dev. This fix checks > for a null adapter at the start of the function and to exit > without the need to up the semaphore and we also skip the debug > to avoid the null pointer dereference. > > Signed-off-by: Colin Ian King

Re: [Patch] Wireless Driver rsi changes: Firmware loading and device initialization changed for RSI-91x devices

2016-09-06 Thread Julian Calaby
he linked document Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: sparc: bpf_jit: Move four assignments in bpf_jit_compile()

2016-09-04 Thread Julian Calaby
ty.) Moving four assignments because you think they might improve stuff is just annoying people. >> He's not another Nick Krause. > > Are you going to remember me under an other nickname anyhow? Nick Krause submitted patches that make yours look good. At least yours

Re: sparc: bpf_jit: Move four assignments in bpf_jit_compile()

2016-09-03 Thread Julian Calaby
moving stuff around pointlessly. I really wish he'd concentrate on the former rather than the latter. He's not another Nick Krause. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: sparc: bpf_jit: Move four assignments in bpf_jit_compile()

2016-09-03 Thread Julian Calaby
fic benefits for this software module. What benefits? You have not proved that this change produces any useful benefits. >> and wasting everyone's time in the process. > > I assume that a few contributors can take the presented ideas for further > considerations. > Will their value evolve a bit more later? I am subscribed to four fairly high traffic mailing lists and I read hundreds of patches each week. You are the only person proposing changes like these ones as you are (as far as I know) the only person who thinks they have any value. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH 2/4] sparc: bpf_jit: Move four assignments in bpf_jit_compile()

2016-09-03 Thread Julian Calaby
ok, > > I see another software design option where the transformation result might be > looking > more pleasing for you again. > > >> but why all the way down here? > > * How do you think about the reason I gave in the short commit message? Does this change improve the r

Re: sparc: bpf_jit: Move four assignments in bpf_jit_compile()

2016-09-03 Thread Julian Calaby
things, there is absolutely no reason to take them as-is - you are making the code longer and more difficult to read for no benefit and wasting everyone's time in the process. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH 2/2] mwifiex: simplify length computation for some memset

2016-09-03 Thread Julian Calaby
Hi All, On Mon, Aug 8, 2016 at 5:39 PM, Christophe JAILLET wrote: > This patch should be a no-op. It just simplifies code by using the name of > a variable instead of its type when calling 'sizeof'. > > Signed-off-by: Christophe JAILLET Reviewed-by: Julian Calaby Than

Re: [PATCH 2/4] sparc: bpf_jit: Move four assignments in bpf_jit_compile()

2016-09-03 Thread Julian Calaby
is is utterly pointless, why? If you were moving the assignments on declaration onto separate lines at the top of the file then ok, but why all the way down here? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] ath10k: Spelling and miscellaneous neatening

2016-09-03 Thread Julian Calaby
t to me. I wish you'd put the code changes in a separate patch, however it's all noted in the commit log, so... Reviewed-by: Julian Calaby Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] staging: wilc1000: fix spelling mistake: "retyring" -> "retrying"

2016-09-03 Thread Julian Calaby
Hi All, On Sun, Aug 28, 2016 at 9:28 PM, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in dev_err message > > Signed-off-by: Colin Ian King Reviewed-by: Julian Calaby Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http:/

Re: [PATCH] rtl8xxxu: fix spelling mistake "firmare" -> "firmware"

2016-09-03 Thread Julian Calaby
Hi All, On Sun, Sep 4, 2016 at 2:43 AM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistakes in dev_dbg message. > > Signed-off-by: Colin Ian King Reviewed-by: Julian Calaby Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http:/

Re: [PATCH] ath10k: fix spelling mistake "montior" -> "monitor"

2016-08-27 Thread Julian Calaby
Hi All, On Sat, Aug 27, 2016 at 4:08 AM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in ath10k_warn message. > > Signed-off-by: Colin Ian King Reviewed-by: Julian Calaby Thanks, -- Julian Calaby Email: julian.cal...@gmail.co

Re: [PATCH] zd1211rw: fix spelling mistake "firmeware" -> "firmware"

2016-08-24 Thread Julian Calaby
Hi All, On Tue, Aug 23, 2016 at 4:35 AM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in dev_err message. > > Signed-off-by: Colin Ian King Looks right to me. Reviewed-by: Julian Calaby Thanks, -- Julian Calaby Email: julian.cal...@gmail.co

Re: [linux-sunxi] [PATCH 2/9] mfd: axp20x: Add support for AXP806 PMIC

2016-08-20 Thread Julian Calaby
Hi Chen-Yu, On Sun, Aug 21, 2016 at 12:11 PM, Chen-Yu Tsai wrote: > The X-Powers AXP809 is a new PMIC that is paired with Allwinner's A80 > SoC, along with a master AXP809 PMIC. The first "AXP809" should be "AXP806". Thanks, -- Julian Calaby Email: julian

Re: [PATCH 2/3] hostap: Delete an unnecessary jump label in prism2_ioctl_priv_hostapd()

2016-08-20 Thread Julian Calaby
ret = 0; > } > > - out: Does this change make any difference to the compiled code? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [PATCH 2/2] ASoC: sunxi: compatibility for sun6i to SPDIF

2016-07-30 Thread Julian Calaby
le(pdev->dev.of_node, > + "allwinner,sun6i-a31-spdif")) { Given how much Allwinner likes to shuffle stuff around with each SoC generation, would it make sense to add a flag for this in some compatible specific config structure instead of checking

Re: [PATCH 2/3] staging: wilc1000: One function call less in mac_ioctl() after error detection

2016-07-28 Thread Julian Calaby
pointer > for a valid data item. > > Improve this implementation detail by the introduction of another > jump label. > > Signed-off-by: Markus Elfring This is pointless micro-optimisation: kfree(NULL) is perfectly valid and buff is either malloc'd memory or NULL when it

Re: [linux-sunxi] [PATCH] regulator: axp20x: support AXP813 variant

2016-07-28 Thread Julian Calaby
+ (regulators == axp809_regulators && i == AXP809_DCDC1) || > + (regulators == axp813_regulators && i == AXP813_DCDC1)) Ditto. > of_property_read_string(rdev->dev.of_node, >

Re: [PATCH] mwifiex: fix unconditional error return in .add_virtual_intf callback

2016-07-03 Thread Julian Calaby
;) > Signed-off-by: Javier Martinez Canillas Looks correct to me as Dan Carpenter submitted the same fix. Reviewed-by: Julian Calaby Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH 0/4] Mesh mpm fixes and enhancements

2016-06-28 Thread Julian Calaby
t you send must be signed off by you, not ack'd by you. I.e. From: Random Developer . Signed-off-by: Random Developer Signed-off-by: Patch Sender Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] [linux-next] rtlwifi: Fix typo in printk

2016-06-28 Thread Julian Calaby
Hi All, On Wed, Jun 29, 2016 at 1:37 PM, Masanari Iida wrote: > This patch fix spelling typos found in drivers/net/wireless/realtek. > > Signed-off-by: Masanari Iida Looks right to me. Reviewed-by: Julian Calaby Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Prof

Re: [PATCH] sparc64: sparc64_defconfig: convert to use libata PATA drivers

2016-06-27 Thread Julian Calaby
eve the Ultra 10 uses the same motherboard so it's likely also affected. I believe these were in the first generation of "PC" like SPARC workstations. Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [PATCH 13/14] ARM: dts: sun8i: Add gpio-regulator used on Orange Pi One

2016-06-23 Thread Julian Calaby
regulator-type = "voltage"; > + > + gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; > + states = <110 0x0 > + 130 0x1>; > + > + startup-delay-us = <10>; > + enable

Re: [linux-sunxi] [PATCH 11/14] ARM: sun8i: clk: Add clk-factor rate application method

2016-06-23 Thread Julian Calaby
ns(-) Shouldn't the .dtsi changes be in a separate patch? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [linux-sunxi] [PATCH 13/14] ARM: dts: sun8i: Add gpio-regulator used on Orange Pi One

2016-06-23 Thread Julian Calaby
regulator-type = "voltage"; > + > + gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; > + states = <110 0x0 > + 130 0x1>; > + > + startup-delay-us = <10>; > + enable-active-high; Don't you need to reference the new pinctl node in this one? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] staging: wilc1000: fix spelling mistake: "interupts" -> "interrupts"

2016-06-23 Thread Julian Calaby
Hi All, On Thu, Jun 23, 2016 at 11:14 PM, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in dev_err messages > > Signed-off-by: Colin Ian King Looks right to me. Reviewed-by: Julian Calaby Thanks, -- Julian Calaby Email: julian.cal...@gm

Re: [PATCH] staging: wilc1000: arrays can't be NULL

2016-06-23 Thread Julian Calaby
Hi Luis, On Fri, Jun 24, 2016 at 9:50 AM, Luis de Bethencourt wrote: > On 24/06/16 00:15, Julian Calaby wrote: >> Hi Joe, >> >> On Fri, Jun 24, 2016 at 5:24 AM, Joe Perches wrote: >>> On Thu, 2016-06-23 at 18:57 +0100, Luis de Bethencourt wrote: >>>

Re: [PATCH] staging: wilc1000: arrays can't be NULL

2016-06-23 Thread Julian Calaby
a hit to the >> kernelnewbies mailing list :) > > Or not. > > really_long_identifiers™ makes using 80 columns silly. > > The hungarian could probably be converted though. The main developers of this driver are slowly working through the driver's style issues, which is part of the r

Re: [PATCH] staging: wilc1000: fix error handling in wilc_debugfs_init()

2016-06-23 Thread Julian Calaby
Hi Luis, On Thu, Jun 23, 2016 at 9:25 PM, Luis de Bethencourt wrote: > On 23/06/16 02:29, Julian Calaby wrote: >> Hi All, >> >> On Wed, Jun 22, 2016 at 10:39 PM, Luis de Bethencourt >> wrote: >>> The common format to check if a function returned an error poin

Re: [PATCH] staging: wilc1000: fix error handling in wilc_debugfs_init()

2016-06-22 Thread Julian Calaby
f -1 is more > appropriate. These two changes could be argued to be separate changes deserving of their own patches. > Signed-off-by: Luis de Bethencourt However if everyone else is ok with that, this is: Reviewed-by: Julian Calaby Thanks, -- Julian Calaby Email: julian.cal...@gmail

Re: [PATCH] VMW_PVSCSI: Change to update maintainer details (name, email)

2016-06-16 Thread Julian Calaby
Hi Joe, On Fri, Jun 17, 2016 at 1:04 PM, Joe Perches wrote: > On Fri, 2016-06-17 at 12:44 +1000, Julian Calaby wrote: >> Hi Joe, > > rehi Julian. (I always put a salutation on my emails and always finish them with "Thanks," =) ) >> On Fri, Jun 17, 2016

Re: [PATCH] VMW_PVSCSI: Change to update maintainer details (name, email)

2016-06-16 Thread Julian Calaby
Hi Joe, On Fri, Jun 17, 2016 at 12:33 PM, Joe Perches wrote: > On Fri, 2016-06-17 at 12:18 +1000, Julian Calaby wrote: >> ./scripts/get_maintainers.pl -f drivers/scsi/vmw_pvscsi.c > > just fyi: the script name is not plural Thanks, must have typo'd it between running it an

Re: [PATCH] VMW_PVSCSI: Change to update maintainer details (name, email)

2016-06-16 Thread Julian Calaby
aintainers.pl patchfile.patch Thanks, Julian Calaby > > Thanks! > Arvind > ________ > From: Julian Calaby > Sent: Thursday, June 16, 2016 6:48 PM > To: Jim Gill > Cc: j...@linux.vnet.ibm.com; Martin K. Petersen; Arvind Kumar; > pv-driv

Re: [PATCH] VMW_PVSCSI: Change to update maintainer details (name, email)

2016-06-16 Thread Julian Calaby
tained by: Jim Gill Shouldn't you update MAINTAINERs too? And isn't having this information in these files redundant? Thanks, -- Julian Calaby Email: julian.cal...@gmail.com Profile: http://www.google.com/profiles/julian.calaby/

Re: [PATCH] sparc64: Swap registers for fault code and address in mna trap

2016-06-16 Thread Julian Calaby
red into thread_info->flag's TI_FAULT_ADDR in user_rtt_fill_fixup. > This is a mistake. If fault address has FAULT_CODE_ITLB and > FAULT_CODE_DTLB bits, BUG() may occur in do_sparc64_fault(). > > The patch for this bug is the following. > Kernel version is Linux 4.7-rc3. You should put

  1   2   3   >